pub struct SetAside {
pub change: ChangeId,
pub replica: Option<EntityId>,
pub member: Option<EntityId>,
pub millis: u64,
pub operations: Option<usize>,
pub governs: bool,
pub acceptable: bool,
pub entities: Vec<(EntityId, Option<String>)>,
}Expand description
A change that was set aside: its author was revoked by a replica that did not have it, or nobody listed its key; or, in a space with members, its author’s member left, was removed or lost a role before they knew of it, or their role never allowed it.
Fields§
§change: ChangeIdThe change.
replica: Option<EntityId>The replica that made it, if the space names one with its key.
member: Option<EntityId>In a space with members, the member whose replica made it, by the listings that the change builds on.
millis: u64When it was made, as its author says, in milliseconds since 1970.
operations: Option<usize>How many operations it holds, if this replica can read it.
governs: boolWhether it governs the space, such as by revoking a replica or adding one: such a change is never accepted.
acceptable: boolWhether accepting it would make it count: an ordinary change that only a lowered role, a removal or a revocation set aside, and, in a space with members, one that this replica can read, so that an admin reviews what it does.
entities: Vec<(EntityId, Option<String>)>The entities that it changes, if this replica can read it, each with its name: the one the space shows, or else the one that the change gives it.
Trait Implementations§
impl Eq for SetAside
impl StructuralPartialEq for SetAside
Auto Trait Implementations§
impl Forget for SetAside
impl Freeze for SetAside
impl Move for SetAside
impl RefUnwindSafe for SetAside
impl Send for SetAside
impl Sync for SetAside
impl Unpin for SetAside
impl UnsafeUnpin for SetAside
impl UnwindSafe for SetAside
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.