pub struct StoreCreationDescriptor {Show 13 fields
pub creation_id: StoreCreationId,
pub key_confirmation: StoreKeyConfirmation,
pub provider: StoreProviderBinding,
pub schema_version: u32,
pub sync_routing_hash: ObjectHash,
pub founder_pubkey: String,
pub founder_grant: MembershipGrantId,
pub root_slot: ObjectSlot,
pub current_publication_slot: ObjectSlot,
pub founder_registration: ObjectSlot,
pub founder_provider_admin: FounderProviderAdminGrant,
pub founder_membership: GrantStreamAnchor,
pub founder_recovery: GrantStreamAnchor,
}Fields§
§creation_id: StoreCreationId§key_confirmation: StoreKeyConfirmation§provider: StoreProviderBinding§schema_version: u32§sync_routing_hash: ObjectHash§founder_pubkey: String§founder_grant: MembershipGrantId§root_slot: ObjectSlot§current_publication_slot: ObjectSlot§founder_registration: ObjectSlot§founder_provider_admin: FounderProviderAdminGrant§founder_membership: GrantStreamAnchor§founder_recovery: GrantStreamAnchorImplementations§
Source§impl StoreCreationDescriptor
impl StoreCreationDescriptor
pub fn store_root_id(&self) -> ObjectHash
pub fn validate_merge_founder_entry( &self, founder: &MembershipEntry, ) -> Result<(), StoreProtocolError>
Trait Implementations§
Source§impl Clone for StoreCreationDescriptor
impl Clone for StoreCreationDescriptor
Source§fn clone(&self) -> StoreCreationDescriptor
fn clone(&self) -> StoreCreationDescriptor
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 StoreCreationDescriptor
impl Debug for StoreCreationDescriptor
Source§impl<'de> Deserialize<'de> for StoreCreationDescriptor
impl<'de> Deserialize<'de> for StoreCreationDescriptor
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 StoreCreationDescriptor
impl PartialEq for StoreCreationDescriptor
Source§impl Serialize for StoreCreationDescriptor
impl Serialize for StoreCreationDescriptor
impl Eq for StoreCreationDescriptor
impl StructuralPartialEq for StoreCreationDescriptor
Auto Trait Implementations§
impl Freeze for StoreCreationDescriptor
impl RefUnwindSafe for StoreCreationDescriptor
impl Send for StoreCreationDescriptor
impl Sync for StoreCreationDescriptor
impl Unpin for StoreCreationDescriptor
impl UnsafeUnpin for StoreCreationDescriptor
impl UnwindSafe for StoreCreationDescriptor
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.