Struct thor::wallet::committee::CommitteeMembershipDataManager
source · pub struct CommitteeMembershipDataManager {
pub(crate) committees: Vec<CommitteeMembershipData>,
}
Fields§
§committees: Vec<CommitteeMembershipData>
Implementations§
source§impl CommitteeMembershipDataManager
impl CommitteeMembershipDataManager
pub fn committees_mut(&mut self) -> &mut Vec<CommitteeMembershipData>
pub fn write_to(&self, directory: &ChildPath)
pub fn committees(&self) -> &Vec<CommitteeMembershipData>
pub fn new(committees: Vec<CommitteeMembershipData>) -> Self
Trait Implementations§
source§impl Clone for CommitteeMembershipDataManager
impl Clone for CommitteeMembershipDataManager
source§fn clone(&self) -> CommitteeMembershipDataManager
fn clone(&self) -> CommitteeMembershipDataManager
Returns a copy 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 Default for CommitteeMembershipDataManager
impl Default for CommitteeMembershipDataManager
source§fn default() -> CommitteeMembershipDataManager
fn default() -> CommitteeMembershipDataManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CommitteeMembershipDataManager
impl Send for CommitteeMembershipDataManager
impl Sync for CommitteeMembershipDataManager
impl Unpin for CommitteeMembershipDataManager
impl UnwindSafe for CommitteeMembershipDataManager
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request