pub struct LivelinessQosPolicy {
pub kind: LivelinessQosPolicyKind,
pub lease_duration: Duration_t,
}Fields§
§kind: LivelinessQosPolicyKind§lease_duration: Duration_tImplementations§
Source§impl LivelinessQosPolicy
impl LivelinessQosPolicy
pub fn new(kind: LivelinessQosPolicyKind, lease_duration: Duration_t) -> Self
pub fn kind(&self) -> &LivelinessQosPolicyKind
pub fn set_kind(&mut self, value: LivelinessQosPolicyKind)
pub fn lease_duration(&self) -> &Duration_t
pub fn set_lease_duration(&mut self, value: Duration_t)
Trait Implementations§
Source§impl Clone for LivelinessQosPolicy
impl Clone for LivelinessQosPolicy
Source§fn clone(&self) -> LivelinessQosPolicy
fn clone(&self) -> LivelinessQosPolicy
Returns a duplicate 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 moreSource§impl Debug for LivelinessQosPolicy
impl Debug for LivelinessQosPolicy
Source§impl<'de> Deserialize<'de> for LivelinessQosPolicy
impl<'de> Deserialize<'de> for LivelinessQosPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LivelinessQosPolicy
impl RefUnwindSafe for LivelinessQosPolicy
impl Send for LivelinessQosPolicy
impl Sync for LivelinessQosPolicy
impl Unpin for LivelinessQosPolicy
impl UnsafeUnpin for LivelinessQosPolicy
impl UnwindSafe for LivelinessQosPolicy
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