pub struct Identity {
pub id: String,
pub name: String,
}Expand description
The built-in type Identity (the identity of quote lines; 案内人 and "案内人" in identity 案内人 = "案内人").
Fields§
§id: StringThe declared name (案内人).
name: StringThe display name given in the declaration ("案内人").
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Identity
impl<'de> Deserialize<'de> for Identity
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 Identity
Source§impl FromValue for Identity
impl FromValue for Identity
Source§fn from_value(v: &Value) -> Option<Self>
fn from_value(v: &Value) -> Option<Self>
None if the type does not match.impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Forget for Identity
impl Freeze for Identity
impl Move for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoReturn for Twhere
T: IntoValue,
impl<T> IntoReturn for Twhere
T: IntoValue,
Source§fn into_return(self) -> Result<Value, CommandError>
fn into_return(self) -> Result<Value, CommandError>
Makes a value.