pub enum KeyCreationSrc {
None,
Key(ResourceKey),
}Variants§
None
Key(ResourceKey)
Trait Implementations§
Source§impl Clone for KeyCreationSrc
impl Clone for KeyCreationSrc
Source§fn clone(&self) -> KeyCreationSrc
fn clone(&self) -> KeyCreationSrc
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 KeyCreationSrc
impl Debug for KeyCreationSrc
Source§impl<'de> Deserialize<'de> for KeyCreationSrc
impl<'de> Deserialize<'de> for KeyCreationSrc
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 KeyCreationSrc
impl RefUnwindSafe for KeyCreationSrc
impl Send for KeyCreationSrc
impl Sync for KeyCreationSrc
impl Unpin for KeyCreationSrc
impl UnwindSafe for KeyCreationSrc
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