pub struct ContainerLeaseClient { /* private fields */ }
Implementations§
Source§impl ContainerLeaseClient
impl ContainerLeaseClient
pub fn release(&self) -> ReleaseLeaseBuilder
pub fn renew(&self) -> RenewLeaseBuilder
pub fn lease_id(&self) -> LeaseId
pub fn container_client(&self) -> &ContainerClient
Trait Implementations§
Source§impl Clone for ContainerLeaseClient
impl Clone for ContainerLeaseClient
Source§fn clone(&self) -> ContainerLeaseClient
fn clone(&self) -> ContainerLeaseClient
Returns a copy of the value. Read more
1.0.0 · 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 Freeze for ContainerLeaseClient
impl !RefUnwindSafe for ContainerLeaseClient
impl Send for ContainerLeaseClient
impl Sync for ContainerLeaseClient
impl Unpin for ContainerLeaseClient
impl !UnwindSafe for ContainerLeaseClient
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