Struct surreal_simple_querybuilder::model::SchemaField
source · [−]Fields
identifier: &'static str
Implementations
sourceimpl<const N: usize> SchemaField<N>
impl<const N: usize> SchemaField<N>
pub const fn new(identifier: &'static str) -> Self
pub const fn with_origin(
identifier: &'static str,
origin: Option<OriginHolder<N>>
) -> Self
pub fn from_alias(self, alias: &'static str) -> SchemaField<{ _ }>
Trait Implementations
sourceimpl<const N: usize> Display for SchemaField<N>
impl<const N: usize> Display for SchemaField<N>
sourceimpl<const N: usize> ToNodeBuilder<SchemaField<N>> for SchemaField<N>
impl<const N: usize> ToNodeBuilder<SchemaField<N>> for SchemaField<N>
sourcefn equals_parameterized(&self) -> String
fn equals_parameterized(&self) -> String
Take the current string and add
= $current_string
after it Read moresourcefn with(&self, relation_or_node: &str) -> String
fn with(&self, relation_or_node: &str) -> String
Draws the start of a relation
->node
Read moresourcefn as_named_label(&self, label_name: &str) -> String
fn as_named_label(&self, label_name: &str) -> String
Take the current string and add in front of it the given label name as to
make a string of the following format
LabelName:CurrentString
Read moreAuto Trait Implementations
impl<const N: usize> RefUnwindSafe for SchemaField<N>
impl<const N: usize> Send for SchemaField<N>
impl<const N: usize> Sync for SchemaField<N>
impl<const N: usize> Unpin for SchemaField<N>
impl<const N: usize> UnwindSafe for SchemaField<N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more