pub enum Authorization {
None,
Delegation {
org_directory: Vec<u8>,
procedure_delegation: Vec<u8>,
},
Unsupported,
Malformed,
}Expand description
A procedure advertisement’s provider authorization, as macula_record’s read_authorization/1 reads it.
Variants§
None
The advertisement carries none.
Delegation
The realm’s org directory and the org’s procedure delegation, the one form macula 12 has, as the records’ wire forms.
Unsupported
A map of any other fields, a certificate chain among them.
Malformed
Not a map, or an org directory and a delegation that are not both byte strings.
Trait Implementations§
Source§impl Clone for Authorization
impl Clone for Authorization
Source§impl Debug for Authorization
impl Debug for Authorization
Source§impl Default for Authorization
impl Default for Authorization
impl Eq for Authorization
Source§impl PartialEq for Authorization
impl PartialEq for Authorization
impl StructuralPartialEq for Authorization
Auto Trait Implementations§
impl Freeze for Authorization
impl RefUnwindSafe for Authorization
impl Send for Authorization
impl Sync for Authorization
impl Unpin for Authorization
impl UnsafeUnpin for Authorization
impl UnwindSafe for Authorization
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