pub struct SchemaScalar<'a> {
pub schema: &'a Schema,
pub scalar: &'a Scalar,
}Fields§
§schema: &'a Schema§scalar: &'a ScalarImplementations§
Source§impl SchemaScalar<'_>
impl SchemaScalar<'_>
pub fn depend_on(&self, out: &mut Vec<TypeIdent>)
pub fn type_dependencies(&self, out: &mut Vec<TypeIdent>)
pub fn inner_type(&self, rn: &RenameMap, report: &mut Report) -> DbNativeType
pub fn native(&self, rn: &RenameMap, report: &mut Report) -> DbNativeType
Methods from Deref<Target = Scalar>§
pub fn is_always_inline(&self) -> bool
pub fn is_external(&self) -> bool
pub fn inlined(&self) -> bool
Trait Implementations§
Source§impl<'a> Clone for SchemaScalar<'a>
impl<'a> Clone for SchemaScalar<'a>
Source§fn clone(&self) -> SchemaScalar<'a>
fn clone(&self) -> SchemaScalar<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SchemaScalar<'a>
impl<'a> Debug for SchemaScalar<'a>
Source§impl Deref for SchemaScalar<'_>
impl Deref for SchemaScalar<'_>
impl<'a> Copy for SchemaScalar<'a>
Auto Trait Implementations§
impl<'a> Freeze for SchemaScalar<'a>
impl<'a> RefUnwindSafe for SchemaScalar<'a>
impl<'a> Send for SchemaScalar<'a>
impl<'a> Sync for SchemaScalar<'a>
impl<'a> Unpin for SchemaScalar<'a>
impl<'a> UnwindSafe for SchemaScalar<'a>
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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