Struct git_actor::SignatureRef [−][src]
Expand description
A immutable signature is created by an actor at a certain time.
Note that this is not a cryptographical signature.
Fields
name: &'a BStr
The actor’s name.
email: &'a BStr
The actor’s email.
time: Time
The time stamp at which the signature was performed.
Implementations
pub fn from_bytes<E>(data: &'a [u8]) -> Result<SignatureRef<'a>, Err<E>> where
E: ParseError<&'a [u8]> + ContextError<&'a [u8]>,
pub fn from_bytes<E>(data: &'a [u8]) -> Result<SignatureRef<'a>, Err<E>> where
E: ParseError<&'a [u8]> + ContextError<&'a [u8]>,
Deserialize a signature from the given data
.
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 tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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<'a> RefUnwindSafe for SignatureRef<'a>
impl<'a> Send for SignatureRef<'a>
impl<'a> Sync for SignatureRef<'a>
impl<'a> Unpin for SignatureRef<'a>
impl<'a> UnwindSafe for SignatureRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more