Struct git_actor::Signature [−][src]
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
Borrow this instance as immutable
Output
Return an actor identified name
and email
at the current local time, that is a time with a timezone offset from
UTC based on the hosts configuration.
Return an actor identified name
and email
at the current local time, or UTC time if the current time zone could
not be obtained.
Trait Implementations
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
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Signature
impl UnwindSafe for Signature
Blanket Implementations
Mutably borrows from an owned value. Read more