pub struct TargetedRuleFragment { /* private fields */ }Expand description
One source-bound nominal durable-rule target.
Implementations§
Source§impl TargetedRuleFragment
impl TargetedRuleFragment
Sourcepub fn new(
root: FieldSourceKey,
target_type: TypeSourceKey,
rule: SchemaName,
operation: SourceRuleOperation,
) -> TargetedRuleFragment
pub fn new( root: FieldSourceKey, target_type: TypeSourceKey, rule: SchemaName, operation: SourceRuleOperation, ) -> TargetedRuleFragment
Construct one targeted rule below a persisted root field.
Sourcepub const fn root(&self) -> &FieldSourceKey
pub const fn root(&self) -> &FieldSourceKey
Borrow the persisted root-field identity.
Sourcepub const fn target_type(&self) -> &TypeSourceKey
pub const fn target_type(&self) -> &TypeSourceKey
Borrow the ruled nominal type identity.
Sourcepub const fn rule(&self) -> &RuleSourceKey
pub const fn rule(&self) -> &RuleSourceKey
Borrow the current durable-rule name as a typed proposal key.
Sourcepub const fn operation(&self) -> &SourceRuleOperation
pub const fn operation(&self) -> &SourceRuleOperation
Borrow the closed durable operation.
Trait Implementations§
Source§impl Clone for TargetedRuleFragment
impl Clone for TargetedRuleFragment
Source§fn clone(&self) -> TargetedRuleFragment
fn clone(&self) -> TargetedRuleFragment
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 TargetedRuleFragment
impl Debug for TargetedRuleFragment
impl Eq for TargetedRuleFragment
Source§impl PartialEq for TargetedRuleFragment
impl PartialEq for TargetedRuleFragment
impl StructuralPartialEq for TargetedRuleFragment
Auto Trait Implementations§
impl Freeze for TargetedRuleFragment
impl RefUnwindSafe for TargetedRuleFragment
impl Send for TargetedRuleFragment
impl Sync for TargetedRuleFragment
impl Unpin for TargetedRuleFragment
impl UnsafeUnpin for TargetedRuleFragment
impl UnwindSafe for TargetedRuleFragment
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.