Enum azure_core::request_options::LeaseDuration
source · [−]pub enum LeaseDuration {
Infinite,
Seconds(u8),
}
Variants
Infinite
Seconds(u8)
Trait Implementations
sourceimpl Clone for LeaseDuration
impl Clone for LeaseDuration
sourcefn clone(&self) -> LeaseDuration
fn clone(&self) -> LeaseDuration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LeaseDuration
impl Debug for LeaseDuration
sourceimpl From<Duration> for LeaseDuration
impl From<Duration> for LeaseDuration
sourceimpl Header for LeaseDuration
impl Header for LeaseDuration
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
Auto Trait Implementations
impl RefUnwindSafe for LeaseDuration
impl Send for LeaseDuration
impl Sync for LeaseDuration
impl Unpin for LeaseDuration
impl UnwindSafe for LeaseDuration
Blanket Implementations
sourceimpl<T> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more