pub struct Authorization { /* private fields */ }Implementations§
Source§impl Authorization
impl Authorization
pub fn with_options(options: AuthorizationOptions) -> Result<Self>
Sourcepub fn external_form(&self) -> Result<Vec<u8>>
pub fn external_form(&self) -> Result<Vec<u8>>
Sourcepub fn from_external_form(external_form: &[u8]) -> Result<Self>
pub fn from_external_form(external_form: &[u8]) -> Result<Self>
pub fn copy_info(&self, tag: Option<&str>) -> Result<Value>
pub fn copy_rights( &self, rights: &[&str], options: AuthorizationOptions, ) -> Result<Value>
pub fn copy_rights_async( &self, rights: &[&str], options: AuthorizationOptions, ) -> Result<Value>
Trait Implementations§
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