pub enum OtpImgValue {
Word(u64),
Bool(bool),
Sequence(Vec<u32>),
Random,
}
Variants§
Trait Implementations§
Source§impl Annotate for &OtpImgValue
impl Annotate for &OtpImgValue
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Annotate for OtpImgValue
impl Annotate for OtpImgValue
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Debug for OtpImgValue
impl Debug for OtpImgValue
Source§impl<'de> Deserialize<'de> for OtpImgValue
impl<'de> Deserialize<'de> for OtpImgValue
Source§fn deserialize<D>(deserializer: D) -> Result<OtpImgValue, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<OtpImgValue, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OtpImgValue
impl PartialEq for OtpImgValue
Source§impl Serialize for OtpImgValue
impl Serialize for OtpImgValue
impl Eq for OtpImgValue
impl StructuralPartialEq for OtpImgValue
Auto Trait Implementations§
impl Freeze for OtpImgValue
impl RefUnwindSafe for OtpImgValue
impl Send for OtpImgValue
impl Sync for OtpImgValue
impl Unpin for OtpImgValue
impl UnwindSafe for OtpImgValue
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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