pub struct LiveQueryAuthorityState { /* private fields */ }Expand description
Exact live query authority reconstructed from one schema export.
Implementations§
Source§impl LiveQueryAuthorityState
impl LiveQueryAuthorityState
Sourcepub const fn managed(&self) -> &ManagedSchemaState
pub const fn managed(&self) -> &ManagedSchemaState
Borrow the reconstructed managed semantic state.
Sourcepub const fn control_presence(&self) -> LiveQueryControlPresence
pub const fn control_presence(&self) -> LiveQueryControlPresence
Return the exact managed-control schema presence observed in the export.
Sourcepub const fn legacy_control_present(&self) -> bool
pub const fn legacy_control_present(&self) -> bool
Return whether the released V1 migration-ledger schema is installed.
Trait Implementations§
Source§impl Clone for LiveQueryAuthorityState
impl Clone for LiveQueryAuthorityState
Source§fn clone(&self) -> LiveQueryAuthorityState
fn clone(&self) -> LiveQueryAuthorityState
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 LiveQueryAuthorityState
impl Debug for LiveQueryAuthorityState
impl Eq for LiveQueryAuthorityState
Source§impl PartialEq for LiveQueryAuthorityState
impl PartialEq for LiveQueryAuthorityState
impl StructuralPartialEq for LiveQueryAuthorityState
Auto Trait Implementations§
impl Freeze for LiveQueryAuthorityState
impl RefUnwindSafe for LiveQueryAuthorityState
impl Send for LiveQueryAuthorityState
impl Sync for LiveQueryAuthorityState
impl Unpin for LiveQueryAuthorityState
impl UnsafeUnpin for LiveQueryAuthorityState
impl UnwindSafe for LiveQueryAuthorityState
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,
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
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more