pub struct SchemaApplicationTarget { /* private fields */ }Expand description
SchemaApplicationTarget
Point-in-time optimistic application context issued from recovered runtime authority. Callers compose proposals against these opaque identities and this exact database-wide accepted head.
Implementations§
Source§impl SchemaApplicationTarget
impl SchemaApplicationTarget
Sourcepub const fn database_identity(&self) -> TargetDatabaseIdentity
pub const fn database_identity(&self) -> TargetDatabaseIdentity
Return the opaque current database identity.
Sourcepub const fn accepted_head(&self) -> &ExpectedAcceptedHead
pub const fn accepted_head(&self) -> &ExpectedAcceptedHead
Borrow the exact optimistic accepted head.
Sourcepub const fn stores(&self) -> &[SchemaApplicationStore]
pub const fn stores(&self) -> &[SchemaApplicationStore]
Borrow registered stores in canonical path order.
Trait Implementations§
Source§impl CandidType for SchemaApplicationTarget
impl CandidType for SchemaApplicationTarget
Source§impl Clone for SchemaApplicationTarget
impl Clone for SchemaApplicationTarget
Source§fn clone(&self) -> SchemaApplicationTarget
fn clone(&self) -> SchemaApplicationTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaApplicationTarget
impl Debug for SchemaApplicationTarget
Source§impl<'de> Deserialize<'de> for SchemaApplicationTarget
impl<'de> Deserialize<'de> for SchemaApplicationTarget
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
impl Eq for SchemaApplicationTarget
Source§impl PartialEq for SchemaApplicationTarget
impl PartialEq for SchemaApplicationTarget
impl StructuralPartialEq for SchemaApplicationTarget
Auto Trait Implementations§
impl Freeze for SchemaApplicationTarget
impl RefUnwindSafe for SchemaApplicationTarget
impl Send for SchemaApplicationTarget
impl Sync for SchemaApplicationTarget
impl Unpin for SchemaApplicationTarget
impl UnsafeUnpin for SchemaApplicationTarget
impl UnwindSafe for SchemaApplicationTarget
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