pub struct CircleControlBody {
pub store_root_hash: ObjectHash,
pub circle_id: CircleId,
pub value: CircleControlValue,
pub author_pubkey: String,
}Expand description
The wire body of one Circle control. Every field here is signed.
Fields§
§store_root_hash: ObjectHash§circle_id: CircleId§value: CircleControlValueImplementations§
Source§impl CircleControlBody
impl CircleControlBody
pub fn state(&self) -> &CircleControlState
pub fn active_epoch(&self) -> Option<&MergeActiveCircleEpoch>
pub fn access_epoch(&self) -> &MergeActiveCircleEpoch
pub fn active_common(&self) -> &ActiveCircleEpochCore
pub fn epoch_id(&self) -> CircleEpochId
pub fn key_fingerprint(&self) -> KeyFingerprint
pub fn owners(&self) -> &[String]
pub fn roster_state_ref(&self) -> MergeCircleRosterStateRef
pub fn metadata_state_ref(&self) -> CircleMetadataStateRef
pub fn store_membership_state_ref(&self) -> StoreMembershipStateRef
pub fn previous_control_hash(&self) -> Option<ObjectHash>
pub fn is_founder(&self) -> bool
Trait Implementations§
Source§impl Clone for CircleControlBody
impl Clone for CircleControlBody
Source§fn clone(&self) -> CircleControlBody
fn clone(&self) -> CircleControlBody
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 CircleControlBody
impl Debug for CircleControlBody
Source§impl<'de> Deserialize<'de> for CircleControlBody
impl<'de> Deserialize<'de> for CircleControlBody
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 CircleControlBody
impl PartialEq for CircleControlBody
Source§impl Serialize for CircleControlBody
impl Serialize for CircleControlBody
Source§impl SignedBody for CircleControlBody
impl SignedBody for CircleControlBody
impl Eq for CircleControlBody
impl StructuralPartialEq for CircleControlBody
Auto Trait Implementations§
impl Freeze for CircleControlBody
impl RefUnwindSafe for CircleControlBody
impl Send for CircleControlBody
impl Sync for CircleControlBody
impl Unpin for CircleControlBody
impl UnsafeUnpin for CircleControlBody
impl UnwindSafe for CircleControlBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.