pub struct BeaconState {
pub id: String,
pub online: bool,
pub category: String,
pub activated: bool,
pub level: String,
}Fields§
§id: String§online: bool§category: String§activated: bool§level: StringTrait Implementations§
Source§impl Clone for BeaconState
impl Clone for BeaconState
Source§fn clone(&self) -> BeaconState
fn clone(&self) -> BeaconState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BeaconState
impl Debug for BeaconState
Source§impl Default for BeaconState
impl Default for BeaconState
Source§impl<'de> Deserialize<'de> for BeaconState
impl<'de> Deserialize<'de> for BeaconState
Source§fn 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
Source§impl PartialEq for BeaconState
impl PartialEq for BeaconState
Source§impl Serialize for BeaconState
impl Serialize for BeaconState
impl Message for BeaconState
impl StructuralPartialEq for BeaconState
Auto Trait Implementations§
impl Freeze for BeaconState
impl RefUnwindSafe for BeaconState
impl Send for BeaconState
impl Sync for BeaconState
impl Unpin for BeaconState
impl UnwindSafe for BeaconState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more