[]Struct kubos_telemetry_db::telemetry::table

pub struct table;
[]

The actual table struct

This is the type which provides the base methods of the query builder, such as .select and .filter.

Methods

impl table
[]

[]

Represents table_name.*, which is sometimes necessary for efficient count queries. It cannot be used in place of all_columns

Trait Implementations

impl Clone for table
[+]

[]

Performs copy-assignment from source. Read more

impl Copy for table

impl Debug for table
[+]

impl<'a, 'insert> Insertable<table> for NewEntry<'a>
[src]
[+]

The VALUES clause to insert these records Read more

[]

Insert self into a given table. Read more

impl<'a, 'insert> Insertable<table> for &'insert NewEntry<'a>
[src]
[+]

The VALUES clause to insert these records Read more

[]

Insert self into a given table. Read more

impl<T> Insertable<T> for table where
    <table as AsQuery>::Query: Insertable<T>, 
[+]

The VALUES clause to insert these records Read more

[]

Insert self into a given table. Read more

impl<'a, T> Insertable<T> for &'a table where
    table: Insertable<T>, 
[+]

The VALUES clause to insert these records Read more

[]

Insert self into a given table. Read more

impl QuerySource for table
[+]

The type returned by from_clause

The type returned by default_selection

impl SelectableExpression<table> for star

impl SelectableExpression<table> for timestamp

impl SelectableExpression<table> for subsystem

impl SelectableExpression<table> for parameter

impl SelectableExpression<table> for value

impl<Left, Right, Kind> JoinTo<Join<Left, Right, Kind>> for table where
    Join<Left, Right, Kind>: JoinTo<table>, 
[+]

impl<Join, On> JoinTo<JoinOn<Join, On>> for table where
    JoinOn<Join, On>: JoinTo<table>, 
[+]

impl<F, S, D, W, O, L, Of, G> JoinTo<SelectStatement<F, S, D, W, O, L, Of, G, NoLockingClause>> for table where
    SelectStatement<F, S, D, W, O, L, Of, G>: JoinTo<table>, 
[+]

impl<'a, QS, ST, DB> JoinTo<BoxedSelectStatement<'a, QS, ST, DB>> for table where
    BoxedSelectStatement<'a, QS, ST, DB>: JoinTo<table>, 
[+]

impl AppearsOnTable<table> for star

impl Table for table
[+]

The type returned by primary_key

The type returned by all_columns

impl HasTable for table
[+]

The table this type is associated with.

impl IntoUpdateTarget for table
[+]

What is the WHERE clause of this target?

impl<'a, 'insert> UndecoratedInsertRecord<table> for NewEntry<'a>
[src]

impl AsQuery for table
[+]

The SQL type of Self::Query

What kind of query does this type represent?

impl QueryId for table
[+]

A type which uniquely represents Self in a SQL query. Read more

[]

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl AppearsInFromClause<table> for table

How many times does Self appear in QS?

impl AppearsInFromClause<table> for ()

How many times does Self appear in QS?

Auto Trait Implementations

impl Send for table

impl Sync for table

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]
[]

impl<T> ToOwned for T where
    T: Clone
[src]
[]

impl<T> From for T
[src]
[]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]
[]

impl<T> Any for T where
    T: 'static + ?Sized
[src]
[]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]
[]

impl<T, Conn> RunQueryDsl for T where
    T: Table, 
[]

[]

Executes the given command, returning the number of rows affected. Read more

[]

Executes the given query, returning a Vec with the returned rows. Read more

[]

Runs the command, and returns the affected row. Read more

[]

Runs the command, returning an Vec with the affected rows. Read more

[]

Attempts to load a single record. Read more

impl<T> IntoSql for T
[]

[]

Convert self to an expression for Diesel's query builder. Read more

[]

Convert &self to an expression for Diesel's query builder. Read more

impl<T, Predicate> FilterDsl for T where
    T: Table,
    <T as AsQuery>::Query: FilterDsl<Predicate>, 
[]

The type returned by .filter.

impl<T> QueryDsl for T where
    T: Table, 
[]

[]

Adds the DISTINCT keyword to a query. Read more

[]

Adds a SELECT clause to the query. Read more

[]

Get the count of a query. This is equivalent to .select(count_star()) Read more

[]

Join two tables using a SQL INNER JOIN. Read more

[]

Join two tables using a SQL LEFT OUTER JOIN. Read more

[]

Alias for [left_outer_join]. Read more

[]

Adds to the WHERE clause of a query. Read more

[]

Adds to the WHERE clause of a query using OR Read more

[]

Attempts to find a single record from the given table by primary key. Read more

[]

Sets the order clause of a query. Read more

[]

Alias for order

[]

Appends to the ORDER BY clause of this SQL query. Read more

[]

Sets the limit clause of the query. Read more

[]

Sets the offset clause of the query. Read more

[]

Adds FOR UPDATE to the end of the select statement. Read more

[]

Adds FOR NO KEY UPDATE to the end of the select statement. Read more

[]

Adds FOR SHARE to the end of the select statement. Read more

[]

Adds FOR KEY SHARE to the end of the select statement. Read more

[]

Adds SKIP LOCKED to the end of a FOR UPDATE clause. Read more

[]

Adds NOWAIT to the end of a FOR UPDATE clause. Read more

[]

Boxes the pieces of a query into a single type. Read more

[]

Wraps this select statement in parenthesis, allowing it to be used as an expression. Read more

[]

Coerce the SQL type of the select clause to it's nullable equivalent. Read more

impl<T, Expr> GroupByDsl for T where
    Expr: Expression,
    T: Table + AsQuery,
    <T as AsQuery>::Query: GroupByDsl<Expr>, 
[]

The type returned by .group_by

impl<T> JoinOnDsl for T where
    T: QuerySource, 
[]

[]

See the trait documentation.

impl<Lhs, Rhs, On> JoinTo for Lhs where
    Lhs: Table, 
[]

impl<T, Tab, V> IntoUpdateTarget for T where
    T: Identifiable<Table = Tab>,
    Tab: Table + FindDsl<<T as Identifiable>::Id>,
    <Tab as FindDsl<<T as Identifiable>::Id>>::Output: IntoUpdateTarget,
    <<Tab as FindDsl<<T as Identifiable>::Id>>::Output as HasTable>::Table == Tab,
    <<Tab as FindDsl<<T as Identifiable>::Id>>::Output as IntoUpdateTarget>::WhereClause == V, 
[]

What is the WHERE clause of this target?

impl<T, Selection> SelectDsl for T where
    Selection: Expression,
    T: Table,
    <T as AsQuery>::Query: SelectDsl<Selection>, 
[]

The type returned by .select

impl<T> AsQuery for T where
    T: Query, 
[]

The SQL type of Self::Query

What kind of query does this type represent?

impl<Conn, T, U> LoadQuery for T where
    Conn: Connection,
    T: AsQuery + RunQueryDsl<Conn>,
    U: Queryable<<T as AsQuery>::SqlType, <Conn as Connection>::Backend>,
    <Conn as Connection>::Backend: HasSqlType<<T as AsQuery>::SqlType>,
    <T as AsQuery>::Query: QueryFragment<<Conn as Connection>::Backend>,
    <T as AsQuery>::Query: QueryId, 
[]

impl<T> OffsetDsl for T where
    T: Table,
    <T as AsQuery>::Query: OffsetDsl, 
[]

The type returned by .offset.

impl<T> ForUpdateDsl for T where
    T: LockingDsl<ForUpdate>, 
[]

Deprecated since 1.3.0

: use LockingDsl<ForUpdate> instead

The type returned by for_update. See [dsl::ForUpdate] for convenient access to this type. Read more

impl<'a, T, DB> BoxedDsl for T where
    T: Table + AsQuery,
    <T as AsQuery>::Query: BoxedDsl<'a, DB>, 
[]

The return type of internal_into_boxed

impl<T, Predicate> OrFilterDsl for T where
    T: Table,
    <T as AsQuery>::Query: OrFilterDsl<Predicate>, 
[]

The type returned by .filter.

impl<T> LimitDsl for T where
    T: Table,
    <T as AsQuery>::Query: LimitDsl, 
[]

The type returned by .limit

impl<T, Expr> OrderDsl for T where
    Expr: Expression,
    T: Table,
    <T as AsQuery>::Query: OrderDsl<Expr>, 
[]

The type returned by .order.

impl<T, Lock> LockingDsl for T where
    T: Table + AsQuery,
    <T as AsQuery>::Query: LockingDsl<Lock>, 
[]

The type returned by set_lock. See [dsl::ForUpdate] and friends for convenient access to this type. Read more

impl<T> DistinctDsl for T where
    T: Table,
    <T as AsQuery>::Query: DistinctDsl, 
[]

The type returned by .distinct

impl<T, PK> FindDsl for T where
    T: Table + FilterDsl<<<T as Table>::PrimaryKey as EqAll<PK>>::Output>,
    <T as Table>::PrimaryKey: EqAll<PK>, 
[]

The type returned by .find.

impl<T, Expr> ThenOrderDsl for T where
    Expr: Expression,
    T: Table,
    <T as AsQuery>::Query: ThenOrderDsl<Expr>, 
[]

The type returned by .then_order_by.