pub struct SignatureRef<'a> {
pub format: Format,
pub data: &'a BStr,
}Expand description
A borrowed armored signature and its detected format.
Fields§
§format: FormatThe signature format detected from the armor marker.
data: &'a BStrThe complete armored signature, from its marker through end of object.
Trait Implementations§
Source§impl<'a> Clone for SignatureRef<'a>
impl<'a> Clone for SignatureRef<'a>
Source§fn clone(&self) -> SignatureRef<'a>
fn clone(&self) -> SignatureRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for SignatureRef<'a>
Source§impl<'a> Debug for SignatureRef<'a>
impl<'a> Debug for SignatureRef<'a>
impl<'a> Eq for SignatureRef<'a>
Source§impl<'a> PartialEq for SignatureRef<'a>
impl<'a> PartialEq for SignatureRef<'a>
impl<'a> StructuralPartialEq for SignatureRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SignatureRef<'a>
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> UnsafeUnpin for SignatureRef<'a>
impl<'a> UnwindSafe for SignatureRef<'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