pub struct ClusterState {Show 17 fields
pub version: u32,
pub peer: Option<Authority>,
pub cluster_id: String,
pub name: String,
pub owner_key: PublicKey,
pub owner_transitions: Vec<SignedOwnerTransition>,
pub revision: u64,
pub previous: Option<Digest>,
pub issued_at: u64,
pub expires_at: u64,
pub nodes: BTreeMap<String, NodeMember>,
pub retired_nodes: BTreeSet<String>,
pub retired_keys: BTreeSet<PublicKey>,
pub retired_relay_grants: BTreeSet<String>,
pub retired_admin_grants: BTreeSet<String>,
pub release_channel: ReleaseChannel,
pub policy: Policy,
}Fields§
§version: u32§peer: Option<Authority>§cluster_id: String§name: String§owner_key: PublicKey§owner_transitions: Vec<SignedOwnerTransition>§revision: u64§previous: Option<Digest>§issued_at: u64§expires_at: u64§nodes: BTreeMap<String, NodeMember>§retired_nodes: BTreeSet<String>§retired_keys: BTreeSet<PublicKey>§retired_relay_grants: BTreeSet<String>§retired_admin_grants: BTreeSet<String>§release_channel: ReleaseChannelOmit stable to preserve pre-channel signatures and checkpoint digests.
policy: PolicyTrait Implementations§
Source§impl Clone for ClusterState
impl Clone for ClusterState
Source§impl Debug for ClusterState
impl Debug for ClusterState
Source§impl<'de> Deserialize<'de> for ClusterState
impl<'de> Deserialize<'de> for ClusterState
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
Auto Trait Implementations§
impl Forget for ClusterState
impl Freeze for ClusterState
impl Move for ClusterState
impl RefUnwindSafe for ClusterState
impl Send for ClusterState
impl Sync for ClusterState
impl Unpin for ClusterState
impl UnsafeUnpin for ClusterState
impl UnwindSafe for ClusterState
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