Skip to main content

StandaloneColumn

Struct StandaloneColumn 

Source
pub struct StandaloneColumn {
    pub member: Ident,
    pub name: RustSafeName,
    pub domain: Type,
    pub wire: Option<Type>,
    pub marker: Option<Marker>,
    pub stored: Vec<StandaloneStored>,
}
Expand description

One field of the struct, as the three doors read it.

Fields§

§member: Ident

The Rust member — layer 1, the field’s own name, which no word moves.

§name: RustSafeName

What a doc sentence calls this column: the common rename = "…" where one is written, the member otherwise.

§domain: Type

The field’s declared type — what a comparison stores where no database overrides it, and what a filter is projected from where no wire type is written.

§wire: Option<Type>

graphql(type = "…") — the ONE wire form, which is what the FILTER is projected from.

The filter faces the client, so it is built from the type a client writes. The comparison faces the database, so it is built from the domain type and stored at the database’s own.

§marker: Option<Marker>

The interpretation word this field’s type is read under, if the declaration wrote one.

§stored: Vec<StandaloneStored>

One entry per database this struct names, in the model’s own database order.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.