pub struct StakeDeregistration { /* private fields */ }Implementations
sourceimpl StakeDeregistration
 
impl StakeDeregistration
pub fn from_bytes(
    bytes: Vec<u8>
) -> Result<StakeDeregistration, DeserializeError>
sourceimpl StakeDeregistration
 
impl StakeDeregistration
pub fn stake_credential(&self) -> StakeCredential
pub fn new(stake_credential: &StakeCredential) -> Self
Trait Implementations
sourceimpl Clone for StakeDeregistration
 
impl Clone for StakeDeregistration
sourcefn clone(&self) -> StakeDeregistration
 
fn clone(&self) -> StakeDeregistration
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 more
sourceimpl Debug for StakeDeregistration
 
impl Debug for StakeDeregistration
sourceimpl Deserialize for StakeDeregistration
 
impl Deserialize for StakeDeregistration
fn deserialize<R: BufRead + Seek>(
    raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
sourceimpl DeserializeEmbeddedGroup for StakeDeregistration
 
impl DeserializeEmbeddedGroup for StakeDeregistration
fn deserialize_as_embedded_group<R: BufRead + Seek>(
    raw: &mut Deserializer<R>, 
    _: Len
) -> Result<Self, DeserializeError>
sourceimpl Ord for StakeDeregistration
 
impl Ord for StakeDeregistration
sourceimpl PartialEq<StakeDeregistration> for StakeDeregistration
 
impl PartialEq<StakeDeregistration> for StakeDeregistration
sourcefn eq(&self, other: &StakeDeregistration) -> bool
 
fn eq(&self, other: &StakeDeregistration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StakeDeregistration) -> bool
 
fn ne(&self, other: &StakeDeregistration) -> bool
This method tests for !=.
sourceimpl PartialOrd<StakeDeregistration> for StakeDeregistration
 
impl PartialOrd<StakeDeregistration> for StakeDeregistration
sourcefn partial_cmp(&self, other: &StakeDeregistration) -> Option<Ordering>
 
fn partial_cmp(&self, other: &StakeDeregistration) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
 
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl Serialize for StakeDeregistration
 
impl Serialize for StakeDeregistration
fn serialize<'se, W: Write>(
    &self, 
    serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
impl Eq for StakeDeregistration
impl StructuralEq for StakeDeregistration
impl StructuralPartialEq for StakeDeregistration
Auto Trait Implementations
impl RefUnwindSafe for StakeDeregistration
impl Send for StakeDeregistration
impl Sync for StakeDeregistration
impl Unpin for StakeDeregistration
impl UnwindSafe for StakeDeregistration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
 
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
 
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more