pub struct TableEntry {
pub name: String,
pub database: String,
pub app_id: String,
pub fields: Vec<FieldSummary>,
pub transports: TransportFlags,
}Expand description
One @table declaration, with effective (post-default-resolution)
transport flags.
Fields§
§name: StringTable type name (User, Role, DemoItem).
database: StringDatabase namespace this table lives in.
app_id: StringOwning application id.
fields: Vec<FieldSummary>Field summaries (name, type, required, indexed).
transports: TransportFlagsEffective transport availability — @export default-true
already applied. A flag is true iff the table is reachable
on that transport at this deployment.
Trait Implementations§
Source§impl Clone for TableEntry
impl Clone for TableEntry
Source§fn clone(&self) -> TableEntry
fn clone(&self) -> TableEntry
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 TableEntry
impl Debug for TableEntry
Source§impl<'de> Deserialize<'de> for TableEntry
impl<'de> Deserialize<'de> for TableEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TableEntry
impl RefUnwindSafe for TableEntry
impl Send for TableEntry
impl Sync for TableEntry
impl Unpin for TableEntry
impl UnsafeUnpin for TableEntry
impl UnwindSafe for TableEntry
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