pub struct Signature {
pub name: BString,
pub email: BString,
pub time: Time,
}
Expand description
A mutable signature is created by an actor at a certain time.
Note that this is not a cryptographical signature.
Fields§
§name: BString
The actors name.
email: BString
The actor’s email.
time: Time
The time stamp at which the signature is performed.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Signature
impl<'de> Deserialize<'de> for Signature
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<'a> From<&'a Signature> for SignatureRef<'a>
impl<'a> From<&'a Signature> for SignatureRef<'a>
source§fn from(other: &'a Signature) -> SignatureRef<'a>
fn from(other: &'a Signature) -> SignatureRef<'a>
Converts to this type from the input type.
source§impl From<SignatureRef<'_>> for Signature
impl From<SignatureRef<'_>> for Signature
source§fn from(other: SignatureRef<'_>) -> Signature
fn from(other: SignatureRef<'_>) -> Signature
Converts to this type from the input type.
source§impl Ord for Signature
impl Ord for Signature
source§impl PartialEq<Signature> for Signature
impl PartialEq<Signature> for Signature
source§impl PartialOrd<Signature> for Signature
impl PartialOrd<Signature> for Signature
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more