pub struct CorsMethod(/* private fields */);
Expand description
HTTP methods allowed with CORS requests to the RPC API
Trait Implementations§
Source§impl AsRef<str> for CorsMethod
impl AsRef<str> for CorsMethod
Source§impl Clone for CorsMethod
impl Clone for CorsMethod
Source§fn clone(&self) -> CorsMethod
fn clone(&self) -> CorsMethod
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 CorsMethod
impl Debug for CorsMethod
Source§impl<'de> Deserialize<'de> for CorsMethod
impl<'de> Deserialize<'de> for CorsMethod
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 CorsMethod
impl Display for CorsMethod
Source§impl PartialEq for CorsMethod
impl PartialEq for CorsMethod
Source§impl Serialize for CorsMethod
impl Serialize for CorsMethod
impl Eq for CorsMethod
impl StructuralPartialEq for CorsMethod
Auto Trait Implementations§
impl Freeze for CorsMethod
impl RefUnwindSafe for CorsMethod
impl Send for CorsMethod
impl Sync for CorsMethod
impl Unpin for CorsMethod
impl UnwindSafe for CorsMethod
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