pub enum ProfileRef {
Named(String),
Inline(ManagementProfileMsg),
}Expand description
A profile reference: either by name or inline definition.
Variants§
Named(String)
Inline(ManagementProfileMsg)
Trait Implementations§
Source§impl Clone for ProfileRef
impl Clone for ProfileRef
Source§fn clone(&self) -> ProfileRef
fn clone(&self) -> ProfileRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProfileRef
impl Debug for ProfileRef
Source§impl<'de> Deserialize<'de> for ProfileRef
impl<'de> Deserialize<'de> for ProfileRef
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 ProfileRef
impl RefUnwindSafe for ProfileRef
impl Send for ProfileRef
impl Sync for ProfileRef
impl Unpin for ProfileRef
impl UnsafeUnpin for ProfileRef
impl UnwindSafe for ProfileRef
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