pub enum RelayConfiguration {
String(String),
Object(RelayObject),
}Variants§
String(String)
Object(RelayObject)
Trait Implementations§
Source§impl Clone for RelayConfiguration
impl Clone for RelayConfiguration
Source§fn clone(&self) -> RelayConfiguration
fn clone(&self) -> RelayConfiguration
Returns a duplicate 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 RelayConfiguration
impl Debug for RelayConfiguration
Source§impl<'de> Deserialize<'de> for RelayConfiguration
impl<'de> Deserialize<'de> for RelayConfiguration
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
Auto Trait Implementations§
impl Freeze for RelayConfiguration
impl RefUnwindSafe for RelayConfiguration
impl Send for RelayConfiguration
impl Sync for RelayConfiguration
impl Unpin for RelayConfiguration
impl UnwindSafe for RelayConfiguration
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