pub struct ValidatorList {
pub data: Option<Vec<SlotView>>,
pub network: Option<String>,
}Fields§
§data: Option<Vec<SlotView>>Data is one entry per slot this org has claimed.
network: Option<String>Network is the luxd network slug new nodes join on this deployment.
Implementations§
Source§impl ValidatorList
impl ValidatorList
pub fn new() -> ValidatorList
Trait Implementations§
Source§impl Clone for ValidatorList
impl Clone for ValidatorList
Source§fn clone(&self) -> ValidatorList
fn clone(&self) -> ValidatorList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValidatorList
impl Debug for ValidatorList
Source§impl Default for ValidatorList
impl Default for ValidatorList
Source§fn default() -> ValidatorList
fn default() -> ValidatorList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidatorList
impl<'de> Deserialize<'de> for ValidatorList
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 ValidatorList
impl PartialEq for ValidatorList
Source§impl Serialize for ValidatorList
impl Serialize for ValidatorList
impl StructuralPartialEq for ValidatorList
Auto Trait Implementations§
impl Freeze for ValidatorList
impl RefUnwindSafe for ValidatorList
impl Send for ValidatorList
impl Sync for ValidatorList
impl Unpin for ValidatorList
impl UnsafeUnpin for ValidatorList
impl UnwindSafe for ValidatorList
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