pub struct SignatureRef<'a>(pub &'a str);
Expand description
A borrowed reference to a signature string used for validation.
SignatureRef
provides a view into the signature data as a string slice,
allowing verification to work with borrowed data without unnecessary allocations.
This type is typically obtained by borrowing from an owned Signature
.
Tuple Fields§
§0: &'a str
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> 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