pub struct ManagedBlockchainData {
pub networks: BTreeMap<String, Value>,
pub members: BTreeMap<String, Value>,
pub nodes: BTreeMap<String, Value>,
pub proposals: BTreeMap<String, Value>,
pub votes: BTreeMap<String, Vec<Value>>,
pub invitations: BTreeMap<String, Value>,
pub accessors: BTreeMap<String, Value>,
pub tags: BTreeMap<String, BTreeMap<String, String>>,
}Expand description
Per-account Amazon Managed Blockchain state.
Fields§
§networks: BTreeMap<String, Value>Networks keyed by Id, stored as their Network wire object.
members: BTreeMap<String, Value>Members keyed by Id, stored as their Member wire object.
nodes: BTreeMap<String, Value>Nodes keyed by Id, stored as their Node wire object.
proposals: BTreeMap<String, Value>Proposals keyed by ProposalId, stored as their Proposal wire object.
votes: BTreeMap<String, Vec<Value>>Recorded votes keyed by ProposalId, each a VoteSummary wire object.
invitations: BTreeMap<String, Value>Pending invitations keyed by InvitationId, stored as their Invitation
wire object.
accessors: BTreeMap<String, Value>Token accessors keyed by Id, stored as their Accessor wire object.
Tags keyed by resource ARN.
Trait Implementations§
Source§impl AccountState for ManagedBlockchainData
impl AccountState for ManagedBlockchainData
Source§fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for ManagedBlockchainData
impl Clone for ManagedBlockchainData
Source§fn clone(&self) -> ManagedBlockchainData
fn clone(&self) -> ManagedBlockchainData
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 ManagedBlockchainData
impl Debug for ManagedBlockchainData
Source§impl Default for ManagedBlockchainData
impl Default for ManagedBlockchainData
Source§fn default() -> ManagedBlockchainData
fn default() -> ManagedBlockchainData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManagedBlockchainData
impl<'de> Deserialize<'de> for ManagedBlockchainData
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 Freeze for ManagedBlockchainData
impl RefUnwindSafe for ManagedBlockchainData
impl Send for ManagedBlockchainData
impl Sync for ManagedBlockchainData
impl Unpin for ManagedBlockchainData
impl UnsafeUnpin for ManagedBlockchainData
impl UnwindSafe for ManagedBlockchainData
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