Struct jormungandr_lib::interfaces::config::node::CorsOrigin
source · pub struct CorsOrigin(String);
Tuple Fields§
§0: String
Trait Implementations§
source§impl AsRef<str> for CorsOrigin
impl AsRef<str> for CorsOrigin
source§impl Clone for CorsOrigin
impl Clone for CorsOrigin
source§fn clone(&self) -> CorsOrigin
fn clone(&self) -> CorsOrigin
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 CorsOrigin
impl Debug for CorsOrigin
source§impl Default for CorsOrigin
impl Default for CorsOrigin
source§fn default() -> CorsOrigin
fn default() -> CorsOrigin
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CorsOrigin
impl<'de> Deserialize<'de> for CorsOrigin
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 From<String> for CorsOrigin
impl From<String> for CorsOrigin
source§impl PartialEq<CorsOrigin> for CorsOrigin
impl PartialEq<CorsOrigin> for CorsOrigin
source§fn eq(&self, other: &CorsOrigin) -> bool
fn eq(&self, other: &CorsOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CorsOrigin
impl Serialize for CorsOrigin
impl Eq for CorsOrigin
impl StructuralEq for CorsOrigin
impl StructuralPartialEq for CorsOrigin
Auto Trait Implementations§
impl RefUnwindSafe for CorsOrigin
impl Send for CorsOrigin
impl Sync for CorsOrigin
impl Unpin for CorsOrigin
impl UnwindSafe for CorsOrigin
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