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 for Signature
impl PartialEq for Signature
source§impl PartialOrd for Signature
impl PartialOrd 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 moreimpl Eq for Signature
impl StructuralEq for Signature
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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