Struct macaroons::caveat::Caveat
[−]
[src]
pub struct Caveat { pub caveat_id: Vec<u8>, pub caveat_key: Option<Vec<u8>>, pub verification_id: Option<Vec<u8>>, pub caveat_location: Option<Vec<u8>>, }
Fields
caveat_id: Vec<u8>
caveat_key: Option<Vec<u8>>
verification_id: Option<Vec<u8>>
caveat_location: Option<Vec<u8>>
Methods
impl Caveat
[src]
fn first_party(caveat_id: Predicate) -> Caveat
fn third_party(
caveat_key: Vec<u8>,
caveat_id: Vec<u8>,
caveat_location: Vec<u8>
) -> Caveat
caveat_key: Vec<u8>,
caveat_id: Vec<u8>,
caveat_location: Vec<u8>
) -> Caveat
Trait Implementations
impl Clone for Caveat
[src]
fn clone(&self) -> Caveat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more