pub enum Caveat {
FirstParty(FirstParty),
ThirdParty(ThirdParty),
}Variants§
Implementations§
Source§impl Caveat
impl Caveat
pub fn sign(&self, key: &MacaroonKey) -> MacaroonKey
Trait Implementations§
impl Eq for Caveat
impl StructuralPartialEq for Caveat
Auto Trait Implementations§
impl Freeze for Caveat
impl RefUnwindSafe for Caveat
impl Send for Caveat
impl Sync for Caveat
impl Unpin for Caveat
impl UnwindSafe for Caveat
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