Enum radicle_git_ext::commit::headers::Signature
source · pub enum Signature<'a> {
Pgp(Cow<'a, str>),
Ssh(Cow<'a, str>),
}
Expand description
A gpgsig
signature stored in a crate::commit::Commit
.
Variants§
Pgp(Cow<'a, str>)
A PGP signature, i.e. starts with -----BEGIN PGP SIGNATURE-----
.
Ssh(Cow<'a, str>)
A SSH signature, i.e. starts with -----BEGIN SSH SIGNATURE-----
.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Signature<'a>
impl<'a> RefUnwindSafe for Signature<'a>
impl<'a> Send for Signature<'a>
impl<'a> Sync for Signature<'a>
impl<'a> Unpin for Signature<'a>
impl<'a> UnwindSafe for Signature<'a>
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