pub struct VolumeClient { /* private fields */ }Expand description
A client scoped to a single volume.
Implementations§
Source§impl VolumeClient
impl VolumeClient
Sourcepub fn new(
catalog_name: impl Into<String>,
schema_name: impl Into<String>,
volume_name: impl Into<String>,
client: VolumeServiceClient,
) -> Self
pub fn new( catalog_name: impl Into<String>, schema_name: impl Into<String>, volume_name: impl Into<String>, client: VolumeServiceClient, ) -> Self
Create a client bound to the resource’s name components.
Sourcepub fn from_full_name(
full_name: impl Into<String>,
client: VolumeServiceClient,
) -> Self
pub fn from_full_name( full_name: impl Into<String>, client: VolumeServiceClient, ) -> Self
Create a volume client from its dot-joined full name (e.g. "catalog_name.schema_name.volume_name").
Sourcepub fn catalog_name(&self) -> &str
pub fn catalog_name(&self) -> &str
The catalog_name component of this resource’s name.
Sourcepub fn schema_name(&self) -> &str
pub fn schema_name(&self) -> &str
The schema_name component of this resource’s name.
Sourcepub fn full_name(&self) -> String
pub fn full_name(&self) -> String
The fully-qualified name of this resource (its dot-joined name components).
pub fn get(&self) -> GetVolumeBuilder
pub fn update(&self) -> UpdateVolumeBuilder
pub fn delete(&self) -> DeleteVolumeBuilder
Trait Implementations§
Source§impl Clone for VolumeClient
impl Clone for VolumeClient
Source§fn clone(&self) -> VolumeClient
fn clone(&self) -> VolumeClient
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§
impl !RefUnwindSafe for VolumeClient
impl !UnwindSafe for VolumeClient
impl Freeze for VolumeClient
impl Send for VolumeClient
impl Sync for VolumeClient
impl Unpin for VolumeClient
impl UnsafeUnpin for VolumeClient
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