pub struct ProofAuth {
pub id: ProofId,
}Expand description
A RAII type that holds a reference to a proof that is authorized for use. Once this is dropped the proof goes out of scope and can no longer be used.
Fields§
§id: ProofIdTrait Implementations§
Source§impl<'de> Deserialize<'de> for ProofAuth
impl<'de> Deserialize<'de> for ProofAuth
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
Auto Trait Implementations§
impl Freeze for ProofAuth
impl RefUnwindSafe for ProofAuth
impl Send for ProofAuth
impl Sync for ProofAuth
impl Unpin for ProofAuth
impl UnsafeUnpin for ProofAuth
impl UnwindSafe for ProofAuth
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