Struct chirpstack_api::as_pb::external::api::user_service_client::UserServiceClient [−][src]
pub struct UserServiceClient<T> { /* fields omitted */ }Expand description
UserService is the service managing the user access.
Implementations
impl<T> UserServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send, [src]
impl<T> UserServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send, [src]pub async fn list(
&mut self,
request: impl IntoRequest<ListUserRequest>
) -> Result<Response<ListUserResponse>, Status>[src]
pub async fn list(
&mut self,
request: impl IntoRequest<ListUserRequest>
) -> Result<Response<ListUserResponse>, Status>[src]Get user list.
pub async fn get(
&mut self,
request: impl IntoRequest<GetUserRequest>
) -> Result<Response<GetUserResponse>, Status>[src]
pub async fn get(
&mut self,
request: impl IntoRequest<GetUserRequest>
) -> Result<Response<GetUserResponse>, Status>[src]Get data for a particular user.
pub async fn create(
&mut self,
request: impl IntoRequest<CreateUserRequest>
) -> Result<Response<CreateUserResponse>, Status>[src]
pub async fn create(
&mut self,
request: impl IntoRequest<CreateUserRequest>
) -> Result<Response<CreateUserResponse>, Status>[src]Create a new user.
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateUserRequest>
) -> Result<Response<()>, Status>[src]
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateUserRequest>
) -> Result<Response<()>, Status>[src]Update an existing user.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteUserRequest>
) -> Result<Response<()>, Status>[src]
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteUserRequest>
) -> Result<Response<()>, Status>[src]Delete a user.
pub async fn update_password(
&mut self,
request: impl IntoRequest<UpdateUserPasswordRequest>
) -> Result<Response<()>, Status>[src]
pub async fn update_password(
&mut self,
request: impl IntoRequest<UpdateUserPasswordRequest>
) -> Result<Response<()>, Status>[src]UpdatePassword updates a password.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for UserServiceClient<T>impl<T> Send for UserServiceClient<T> where
T: Send, impl<T> Sync for UserServiceClient<T> where
T: Sync, impl<T> Unpin for UserServiceClient<T> where
T: Unpin, impl<T> !UnwindSafe for UserServiceClient<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) -> VAttaches 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