pub struct CircleRosterEntryBody {
pub store_root_hash: ObjectHash,
pub circle_id: CircleId,
pub author_pubkey: String,
pub device_id: String,
pub stream_id: AuthorStreamId,
pub author_owner_grant: MembershipGrantId,
pub seq: u64,
pub previous_hash: Option<ObjectHash>,
pub dependencies: Vec<CircleRosterCoord>,
pub resolution_dependencies: Vec<CircleRosterConflictResolutionRef>,
pub change: CircleRosterChange,
}Expand description
The wire body of one Circle roster entry. Every field here is signed.
Fields§
§store_root_hash: ObjectHash§circle_id: CircleId§device_id: String§stream_id: AuthorStreamId§seq: u64§previous_hash: Option<ObjectHash>§dependencies: Vec<CircleRosterCoord>§resolution_dependencies: Vec<CircleRosterConflictResolutionRef>§change: CircleRosterChangeTrait Implementations§
Source§impl Clone for CircleRosterEntryBody
impl Clone for CircleRosterEntryBody
Source§fn clone(&self) -> CircleRosterEntryBody
fn clone(&self) -> CircleRosterEntryBody
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 CircleRosterEntryBody
impl Debug for CircleRosterEntryBody
Source§impl<'de> Deserialize<'de> for CircleRosterEntryBody
impl<'de> Deserialize<'de> for CircleRosterEntryBody
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 CircleRosterEntryBody
impl PartialEq for CircleRosterEntryBody
Source§impl Serialize for CircleRosterEntryBody
impl Serialize for CircleRosterEntryBody
Source§impl SignedBody for CircleRosterEntryBody
impl SignedBody for CircleRosterEntryBody
impl Eq for CircleRosterEntryBody
impl StructuralPartialEq for CircleRosterEntryBody
Auto Trait Implementations§
impl Freeze for CircleRosterEntryBody
impl RefUnwindSafe for CircleRosterEntryBody
impl Send for CircleRosterEntryBody
impl Sync for CircleRosterEntryBody
impl Unpin for CircleRosterEntryBody
impl UnsafeUnpin for CircleRosterEntryBody
impl UnwindSafe for CircleRosterEntryBody
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.