Struct ethjson::spec::basic_authority::BasicAuthority
source · [−]pub struct BasicAuthority {
pub params: BasicAuthorityParams,
}
Expand description
Authority engine deserialization.
Fields
params: BasicAuthorityParams
Ethash params.
Trait Implementations
sourceimpl Debug for BasicAuthority
impl Debug for BasicAuthority
sourceimpl<'de> Deserialize<'de> for BasicAuthority
impl<'de> Deserialize<'de> for BasicAuthority
sourcefn 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
sourceimpl PartialEq<BasicAuthority> for BasicAuthority
impl PartialEq<BasicAuthority> for BasicAuthority
sourcefn eq(&self, other: &BasicAuthority) -> bool
fn eq(&self, other: &BasicAuthority) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BasicAuthority) -> bool
fn ne(&self, other: &BasicAuthority) -> bool
This method tests for !=
.
impl StructuralPartialEq for BasicAuthority
Auto Trait Implementations
impl RefUnwindSafe for BasicAuthority
impl Send for BasicAuthority
impl Sync for BasicAuthority
impl Unpin for BasicAuthority
impl UnwindSafe for BasicAuthority
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