pub enum StringFormat {
Pubkey,
U8,
U16,
U32,
U64,
U128,
I64,
UnixTimestamp,
Uri,
}Expand description
String formats. Integer base units are decimal strings.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StringFormat
impl Clone for StringFormat
impl Copy for StringFormat
Source§impl Debug for StringFormat
impl Debug for StringFormat
Source§impl<'de> Deserialize<'de> for StringFormat
impl<'de> Deserialize<'de> for StringFormat
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
impl Eq for StringFormat
Source§impl PartialEq for StringFormat
impl PartialEq for StringFormat
Source§impl Serialize for StringFormat
impl Serialize for StringFormat
impl StructuralPartialEq for StringFormat
Auto Trait Implementations§
impl Freeze for StringFormat
impl RefUnwindSafe for StringFormat
impl Send for StringFormat
impl Sync for StringFormat
impl Unpin for StringFormat
impl UnsafeUnpin for StringFormat
impl UnwindSafe for StringFormat
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