[−][src]Struct k8s_openapi::api::coordination::v1beta1::LeaseSpec
LeaseSpec is a specification of a Lease.
Fields
acquire_time: Option<MicroTime>
acquireTime is a time when the current lease was acquired.
holder_identity: Option<String>
holderIdentity contains the identity of the holder of a current lease.
lease_duration_seconds: Option<i32>
leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
lease_transitions: Option<i32>
leaseTransitions is the number of transitions of a lease between holders.
renew_time: Option<MicroTime>
renewTime is a time when the current holder of a lease has last updated the lease.
Trait Implementations
impl Clone for LeaseSpec
[src]
impl Debug for LeaseSpec
[src]
impl Default for LeaseSpec
[src]
impl<'de> Deserialize<'de> for LeaseSpec
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<LeaseSpec> for LeaseSpec
[src]
impl Serialize for LeaseSpec
[src]
impl StructuralPartialEq for LeaseSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for LeaseSpec
[src]
impl Send for LeaseSpec
[src]
impl Sync for LeaseSpec
[src]
impl Unpin for LeaseSpec
[src]
impl UnwindSafe for LeaseSpec
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,