pub struct OrganizationContext { /* private fields */ }Expand description
Thin get-own-capabilities client via platform.organization. Registry read only.
Implementations§
Source§impl OrganizationContext
impl OrganizationContext
pub fn new(platform: Option<PlatformCapabilities>) -> Self
pub async fn get_capabilities(&self) -> Result<Option<Value>>
Trait Implementations§
Source§impl Clone for OrganizationContext
impl Clone for OrganizationContext
Source§fn clone(&self) -> OrganizationContext
fn clone(&self) -> OrganizationContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for OrganizationContext
impl Default for OrganizationContext
Source§fn default() -> OrganizationContext
fn default() -> OrganizationContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OrganizationContext
impl RefUnwindSafe for OrganizationContext
impl Send for OrganizationContext
impl Sync for OrganizationContext
impl Unpin for OrganizationContext
impl UnsafeUnpin for OrganizationContext
impl UnwindSafe for OrganizationContext
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