pub struct CorsHeader(/* private fields */);
Expand description
HTTP headers allowed to be sent via CORS to the RPC API
Trait Implementations§
Source§impl AsRef<str> for CorsHeader
impl AsRef<str> for CorsHeader
Source§impl Clone for CorsHeader
impl Clone for CorsHeader
Source§fn clone(&self) -> CorsHeader
fn clone(&self) -> CorsHeader
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CorsHeader
impl Debug for CorsHeader
Source§impl<'de> Deserialize<'de> for CorsHeader
impl<'de> Deserialize<'de> for CorsHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CorsHeader
impl Display for CorsHeader
Source§impl PartialEq for CorsHeader
impl PartialEq for CorsHeader
Source§impl Serialize for CorsHeader
impl Serialize for CorsHeader
impl Eq for CorsHeader
impl StructuralPartialEq for CorsHeader
Auto Trait Implementations§
impl Freeze for CorsHeader
impl RefUnwindSafe for CorsHeader
impl Send for CorsHeader
impl Sync for CorsHeader
impl Unpin for CorsHeader
impl UnwindSafe for CorsHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more