Struct switchboard_protos::protos::instruction::mod_SwitchboardInstruction::HeartbeatInstruction [−][src]
Fields
lease_count: Option<i64>slot_expiration: Option<i64>Trait Implementations
impl Clone for HeartbeatInstruction[src]
impl Clone for HeartbeatInstruction[src]fn clone(&self) -> HeartbeatInstruction[src]
fn clone(&self) -> HeartbeatInstruction[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for HeartbeatInstruction[src]
impl Debug for HeartbeatInstruction[src]impl Default for HeartbeatInstruction[src]
impl Default for HeartbeatInstruction[src]fn default() -> HeartbeatInstruction[src]
fn default() -> HeartbeatInstruction[src]Returns the “default value” for a type. Read more
impl<'a> MessageRead<'a> for HeartbeatInstruction[src]
impl<'a> MessageRead<'a> for HeartbeatInstruction[src]fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>[src]
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>[src]Constructs an instance of Self by reading from the given bytes
via the given reader. Read more
impl MessageWrite for HeartbeatInstruction[src]
impl MessageWrite for HeartbeatInstruction[src]fn write_message<W: WriterBackend>(&self, w: &mut Writer<W>) -> Result<()>[src]
fn write_message<W: WriterBackend>(&self, w: &mut Writer<W>) -> Result<()>[src]Writes Self into W writer
impl PartialEq<HeartbeatInstruction> for HeartbeatInstruction[src]
impl PartialEq<HeartbeatInstruction> for HeartbeatInstruction[src]fn eq(&self, other: &HeartbeatInstruction) -> bool[src]
fn eq(&self, other: &HeartbeatInstruction) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &HeartbeatInstruction) -> bool[src]
fn ne(&self, other: &HeartbeatInstruction) -> bool[src]This method tests for !=.
impl StructuralPartialEq for HeartbeatInstruction[src]
Auto Trait Implementations
impl RefUnwindSafe for HeartbeatInstruction
impl Send for HeartbeatInstruction
impl Sync for HeartbeatInstruction
impl Unpin for HeartbeatInstruction
impl UnwindSafe for HeartbeatInstruction
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more