#[non_exhaustive]pub struct MemberSet {
pub entry: String,
pub slice_id: String,
pub members_hash: String,
pub fn_hash: String,
pub slice: Vec<u8>,
pub members: u64,
pub tx: Option<String>,
pub asof: String,
pub licences: Vec<String>,
pub seen_seq: i64,
}Expand description
A member-set row (CONTRACT-guard-patch G2, since 0.6.5): what a slice read saw, without its
members. The entry is slice:<slice_id>:<members_hash>, as a manifest’s; slice is the slice
object’s canonical bytes, members the count, tx the latest member or withdrawal tx the read
saw (None: none, an empty slice) and asof the read’s as-of. Written once per entry
(Store::put_member_set).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entry: Stringslice:<slice_id>:<members_hash>.
slice_id: StringThe slice’s id.
members_hash: StringThe members hash (SPEC 15.13): the entry’s second part.
fn_hash: StringThe slice’s function hash (of the version slice’s cell for a version slice).
slice: Vec<u8>The slice object’s canonical bytes (the members are rebuilt from them).
members: u64How many members.
tx: Option<String>The latest member or withdrawal tx the read saw; None when there is none.
asof: StringThe read’s as-of.
licences: Vec<String>The members’ distinct licence URLs, sorted (decided 26 Nov, G3): the store keeps them
distinct and sorted, and refuses an empty one. from_manifest leaves them empty; the caller
sets them (the reuse check reads them from the row, no member).
seen_seq: i64The slice’s Store::slice_seq read before its members (decided 26 Nov, G3): the reuse check
stands only while the slice’s seq is still this. from_manifest leaves it 0; the caller sets it.