pub enum LexiconStringType {
Datetime,
AtUri,
Did,
Handle,
AtIdentifier,
Nsid,
Cid,
Language,
Tid,
RecordKey,
Uri(UriType),
String,
}Expand description
Lexicon string format types for typed strings in the AT Protocol data model
Variants§
Datetime
ISO 8601 datetime string
AtUri
AT Protocol URI (at://)
Did
Decentralized Identifier
Handle
AT Protocol handle
AtIdentifier
Handle or DID
Nsid
Namespaced Identifier
Cid
Content Identifier
Language
BCP 47 language tag
Tid
Timestamp Identifier
RecordKey
Record key
Uri(UriType)
URI with type constraint
String
Plain string
Trait Implementations§
Source§impl Clone for LexiconStringType
impl Clone for LexiconStringType
Source§fn clone(&self) -> LexiconStringType
fn clone(&self) -> LexiconStringType
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 LexiconStringType
impl Debug for LexiconStringType
Source§impl<'de> Deserialize<'de> for LexiconStringType
impl<'de> Deserialize<'de> for LexiconStringType
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
Source§impl Hash for LexiconStringType
impl Hash for LexiconStringType
Source§impl PartialEq for LexiconStringType
impl PartialEq for LexiconStringType
Source§impl Serialize for LexiconStringType
impl Serialize for LexiconStringType
impl Copy for LexiconStringType
impl Eq for LexiconStringType
impl StructuralPartialEq for LexiconStringType
Auto Trait Implementations§
impl Freeze for LexiconStringType
impl RefUnwindSafe for LexiconStringType
impl Send for LexiconStringType
impl Sync for LexiconStringType
impl Unpin for LexiconStringType
impl UnwindSafe for LexiconStringType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.