Struct chirpstack_api::as_pb::external::api::organization_service_client::OrganizationServiceClient [−][src]
pub struct OrganizationServiceClient<T> { /* fields omitted */ }
Expand description
OrganizationService is the service managing the organization access.
Implementations
impl<T> OrganizationServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
impl<T> OrganizationServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
pub async fn list(
&mut self,
request: impl IntoRequest<ListOrganizationRequest>
) -> Result<Response<ListOrganizationResponse>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListOrganizationRequest>
) -> Result<Response<ListOrganizationResponse>, Status>
Get organization list.
pub async fn get(
&mut self,
request: impl IntoRequest<GetOrganizationRequest>
) -> Result<Response<GetOrganizationResponse>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetOrganizationRequest>
) -> Result<Response<GetOrganizationResponse>, Status>
Get data for a particular organization.
pub async fn create(
&mut self,
request: impl IntoRequest<CreateOrganizationRequest>
) -> Result<Response<CreateOrganizationResponse>, Status>
pub async fn create(
&mut self,
request: impl IntoRequest<CreateOrganizationRequest>
) -> Result<Response<CreateOrganizationResponse>, Status>
Create a new organization.
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateOrganizationRequest>
) -> Result<Response<()>, Status>
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateOrganizationRequest>
) -> Result<Response<()>, Status>
Update an existing organization.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteOrganizationRequest>
) -> Result<Response<()>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteOrganizationRequest>
) -> Result<Response<()>, Status>
Delete an organization.
pub async fn list_users(
&mut self,
request: impl IntoRequest<ListOrganizationUsersRequest>
) -> Result<Response<ListOrganizationUsersResponse>, Status>
pub async fn list_users(
&mut self,
request: impl IntoRequest<ListOrganizationUsersRequest>
) -> Result<Response<ListOrganizationUsersResponse>, Status>
Get organization’s user list.
pub async fn get_user(
&mut self,
request: impl IntoRequest<GetOrganizationUserRequest>
) -> Result<Response<GetOrganizationUserResponse>, Status>
pub async fn get_user(
&mut self,
request: impl IntoRequest<GetOrganizationUserRequest>
) -> Result<Response<GetOrganizationUserResponse>, Status>
Get data for a particular organization user.
pub async fn add_user(
&mut self,
request: impl IntoRequest<AddOrganizationUserRequest>
) -> Result<Response<()>, Status>
pub async fn add_user(
&mut self,
request: impl IntoRequest<AddOrganizationUserRequest>
) -> Result<Response<()>, Status>
Add a new user to an organization.
pub async fn update_user(
&mut self,
request: impl IntoRequest<UpdateOrganizationUserRequest>
) -> Result<Response<()>, Status>
pub async fn update_user(
&mut self,
request: impl IntoRequest<UpdateOrganizationUserRequest>
) -> Result<Response<()>, Status>
Update a user in an organization.
pub async fn delete_user(
&mut self,
request: impl IntoRequest<DeleteOrganizationUserRequest>
) -> Result<Response<()>, Status>
pub async fn delete_user(
&mut self,
request: impl IntoRequest<DeleteOrganizationUserRequest>
) -> Result<Response<()>, Status>
Delete a user from an organization.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for OrganizationServiceClient<T>
impl<T> Send for OrganizationServiceClient<T> where
T: Send,
impl<T> Sync for OrganizationServiceClient<T> where
T: Sync,
impl<T> Unpin for OrganizationServiceClient<T> where
T: Unpin,
impl<T> !UnwindSafe for OrganizationServiceClient<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more