Struct gix_object::commit::SignedData
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)