Struct switchboard_protos::protos::fulfillment_manager::FulfillmentEntry [−][src]
pub struct FulfillmentEntry { pub node_pubkey: Vec<u8>, pub lease_count: i32, pub slot_expiration: i32, }
Fields
node_pubkey: Vec<u8>
lease_count: i32
slot_expiration: i32
Trait Implementations
impl Clone for FulfillmentEntry
[src]
impl Clone for FulfillmentEntry
[src]fn clone(&self) -> FulfillmentEntry
[src]
fn clone(&self) -> FulfillmentEntry
[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 FulfillmentEntry
[src]
impl Debug for FulfillmentEntry
[src]impl Default for FulfillmentEntry
[src]
impl Default for FulfillmentEntry
[src]fn default() -> FulfillmentEntry
[src]
fn default() -> FulfillmentEntry
[src]Returns the “default value” for a type. Read more
impl<'a> MessageRead<'a> for FulfillmentEntry
[src]
impl<'a> MessageRead<'a> for FulfillmentEntry
[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 FulfillmentEntry
[src]
impl MessageWrite for FulfillmentEntry
[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<FulfillmentEntry> for FulfillmentEntry
[src]
impl PartialEq<FulfillmentEntry> for FulfillmentEntry
[src]fn eq(&self, other: &FulfillmentEntry) -> bool
[src]
fn eq(&self, other: &FulfillmentEntry) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &FulfillmentEntry) -> bool
[src]
fn ne(&self, other: &FulfillmentEntry) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for FulfillmentEntry
[src]
Auto Trait Implementations
impl RefUnwindSafe for FulfillmentEntry
impl Send for FulfillmentEntry
impl Sync for FulfillmentEntry
impl Unpin for FulfillmentEntry
impl UnwindSafe for FulfillmentEntry
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 = T
The 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