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