pub enum Id {
Name(String),
Author(String),
NameAndAuthor {
name: String,
author: String,
},
}Expand description
Variants§
Trait Implementations§
Source§impl TryFrom<RawEngineMessage> for Id
impl TryFrom<RawEngineMessage> for Id
Source§type Error = MessageTryFromRawMessageError<EngineMessageParameterPointer>
type Error = MessageTryFromRawMessageError<EngineMessageParameterPointer>
The type returned in the event of a conversion error.
impl Eq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnwindSafe for Id
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