pub struct ShareServiceClient { /* private fields */ }Expand description
HTTP client for service operations
Implementations§
List shares.
Create a new share.
Get a share by name.
Update a share.
Deletes a share.
Sourcepub async fn get_permissions(
&self,
request: &GetPermissionsRequest,
) -> Result<GetPermissionsResponse>
pub async fn get_permissions( &self, request: &GetPermissionsRequest, ) -> Result<GetPermissionsResponse>
Gets the permissions for a data share from the metastore.
Sourcepub async fn update_permissions(
&self,
request: &UpdatePermissionsRequest,
) -> Result<UpdatePermissionsResponse>
pub async fn update_permissions( &self, request: &UpdatePermissionsRequest, ) -> Result<UpdatePermissionsResponse>
Updates the permissions for a data share in the metastore.
Trait Implementations§
Source§fn clone(&self) -> ShareServiceClient
fn clone(&self) -> ShareServiceClient
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 moreAuto Trait Implementations§
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