pub struct RecipeRelation { /* private fields */ }Expand description
One caller-named binary relation over two informed vocabularies.
Implementations§
Source§impl RecipeRelation
impl RecipeRelation
Sourcepub const fn name_token(&self) -> &GeneratedToken
pub const fn name_token(&self) -> &GeneratedToken
Reads the exact ordinary or raw identifier token naming the relation.
Sourcepub fn left_vocabulary(&self) -> &str
pub fn left_vocabulary(&self) -> &str
Reads the name of the relation’s left endpoint vocabulary.
Sourcepub fn right_vocabulary(&self) -> &str
pub fn right_vocabulary(&self) -> &str
Reads the name of the relation’s right endpoint vocabulary.
Sourcepub fn rows(&self) -> impl Iterator<Item = &RecipeRelationRow>
pub fn rows(&self) -> impl Iterator<Item = &RecipeRelationRow>
Reads every informed relation row in caller-authored order.
Sourcepub const fn payload_kind(&self) -> RecipeRelationPayloadKind
pub const fn payload_kind(&self) -> RecipeRelationPayloadKind
Reads the payload contract shared by every row in this relation.
Sourcepub const fn requirements(&self) -> &RecipeRelationRequirements
pub const fn requirements(&self) -> &RecipeRelationRequirements
Reads the structural questions this relation declaration chose to answer.
Trait Implementations§
Source§impl Clone for RecipeRelation
impl Clone for RecipeRelation
Source§fn clone(&self) -> RecipeRelation
fn clone(&self) -> RecipeRelation
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 RecipeRelation
impl Debug for RecipeRelation
impl Eq for RecipeRelation
Source§impl Hash for RecipeRelation
impl Hash for RecipeRelation
Source§impl PartialEq for RecipeRelation
impl PartialEq for RecipeRelation
impl StructuralPartialEq for RecipeRelation
Auto Trait Implementations§
impl Freeze for RecipeRelation
impl RefUnwindSafe for RecipeRelation
impl Send for RecipeRelation
impl Sync for RecipeRelation
impl Unpin for RecipeRelation
impl UnsafeUnpin for RecipeRelation
impl UnwindSafe for RecipeRelation
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