pub struct SignedData<'a> { /* private fields */ }
Expand description
The raw commit data, parseable by CommitRef
or Commit
, which was fed into a program to produce a signature.
See extract_signature()
for how to obtain it.
Implementations§
Source§impl SignedData<'_>
impl SignedData<'_>
Sourcepub fn to_bstring(&self) -> BString
pub fn to_bstring(&self) -> BString
Convenience method to obtain a copy of the signed data.
Trait Implementations§
Source§impl<'a> Clone for SignedData<'a>
impl<'a> Clone for SignedData<'a>
Source§fn clone(&self) -> SignedData<'a>
fn clone(&self) -> SignedData<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for SignedData<'a>
impl<'a> Debug for SignedData<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for SignedData<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SignedData<'a>
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 From<SignedData<'_>> for BString
impl From<SignedData<'_>> for BString
Source§fn from(value: SignedData<'_>) -> Self
fn from(value: SignedData<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for SignedData<'a>
impl<'a> Hash for SignedData<'a>
Source§impl<'a> PartialEq for SignedData<'a>
impl<'a> PartialEq for SignedData<'a>
Source§impl<'a> Serialize for SignedData<'a>
impl<'a> Serialize for SignedData<'a>
impl<'a> Eq for SignedData<'a>
impl<'a> StructuralPartialEq for SignedData<'a>
Auto Trait Implementations§
impl<'a> Freeze for SignedData<'a>
impl<'a> RefUnwindSafe for SignedData<'a>
impl<'a> Send for SignedData<'a>
impl<'a> Sync for SignedData<'a>
impl<'a> Unpin for SignedData<'a>
impl<'a> UnwindSafe for SignedData<'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