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