pub struct StatementUnit { /* private fields */ }Expand description
One preserved outer delta operation and its atomic TypeQL query sequence.
Implementations§
Source§impl StatementUnit
impl StatementUnit
pub const fn operation_index(&self) -> usize
pub const fn operation_kind(&self) -> StatementOperationKind
pub const fn safety(&self) -> SafetyClass
pub const fn atomic(&self) -> bool
pub fn affected_ids(&self) -> &[SchemaFactId]
pub const fn required_capabilities(&self) -> &CapabilitySet
pub fn statements(&self) -> &[TypeQlStatement]
Trait Implementations§
Source§impl Clone for StatementUnit
impl Clone for StatementUnit
Source§fn clone(&self) -> StatementUnit
fn clone(&self) -> StatementUnit
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 StatementUnit
impl Debug for StatementUnit
impl Eq for StatementUnit
Source§impl PartialEq for StatementUnit
impl PartialEq for StatementUnit
Source§impl Serialize for StatementUnit
impl Serialize for StatementUnit
impl StructuralPartialEq for StatementUnit
Auto Trait Implementations§
impl Freeze for StatementUnit
impl RefUnwindSafe for StatementUnit
impl Send for StatementUnit
impl Sync for StatementUnit
impl Unpin for StatementUnit
impl UnsafeUnpin for StatementUnit
impl UnwindSafe for StatementUnit
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