pub struct OrganizationAdminClient { /* private fields */ }Implementations§
Source§impl OrganizationAdminClient
impl OrganizationAdminClient
pub fn new(handle: NativeRequestHandle<OrganizationAdmin>) -> Self
pub fn from_dependencies( dependencies: &PluginDependencies, ) -> Result<Self, RuntimeFailure>
pub async fn create_organization( &self, request: CreateOrganizationRequest, ) -> Result<CreateOrganizationResponse, OrganizationAdminInvocationError>
pub async fn create_organization_with_context( &self, context: InvocationContext, request: CreateOrganizationRequest, ) -> Result<CreateOrganizationResponse, OrganizationAdminInvocationError>
Trait Implementations§
Source§impl CapabilityClient for OrganizationAdminClient
impl CapabilityClient for OrganizationAdminClient
Source§const CAPABILITY_ID: &'static str = CAPABILITY_ID
const CAPABILITY_ID: &'static str = CAPABILITY_ID
Stable Capability identity required by this client.
Source§const DESCRIPTOR_VERSION: &'static str = DESCRIPTOR_VERSION
const DESCRIPTOR_VERSION: &'static str = DESCRIPTOR_VERSION
Exact Descriptor version understood by this generated client.
Source§type Dependencies = PluginDependencies
type Dependencies = PluginDependencies
Adapter-owned dependency view used to connect this client.
Source§type Error = RuntimeFailure
type Error = RuntimeFailure
Adapter-owned failure returned when connection cannot complete.
Source§fn from_dependencies(
dependencies: &PluginDependencies,
) -> Result<Self, RuntimeFailure>
fn from_dependencies( dependencies: &PluginDependencies, ) -> Result<Self, RuntimeFailure>
Connects this client to one Plugin Instance’s resolved dependencies.
Source§fn already_connected() -> RuntimeFailure
fn already_connected() -> RuntimeFailure
Creates the adapter failure for an invalid second connection attempt.
Source§impl CapabilityClientMany for OrganizationAdminClient
impl CapabilityClientMany for OrganizationAdminClient
Source§fn many_from_dependencies(
dependencies: &PluginDependencies,
) -> Result<Vec<BoundCapabilityClient<Self>>, RuntimeFailure>
fn many_from_dependencies( dependencies: &PluginDependencies, ) -> Result<Vec<BoundCapabilityClient<Self>>, RuntimeFailure>
Connects one typed client per bound provider without performing discovery.
Auto Trait Implementations§
impl !RefUnwindSafe for OrganizationAdminClient
impl !Send for OrganizationAdminClient
impl !Sync for OrganizationAdminClient
impl !UnwindSafe for OrganizationAdminClient
impl Freeze for OrganizationAdminClient
impl Unpin for OrganizationAdminClient
impl UnsafeUnpin for OrganizationAdminClient
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