[][src]Struct df_st_db::Rectangle

pub struct Rectangle {
    pub id: i32,
    pub world_id: i32,
    pub x1: i32,
    pub y1: i32,
    pub x2: i32,
    pub y2: i32,
}

Fields

id: i32world_id: i32x1: i32y1: i32x2: i32y2: i32

Implementations

impl Rectangle[src]

pub fn new() -> Self[src]

Trait Implementations

impl BelongsTo<Rectangle> for Site[src]

type ForeignKey = i32

The foreign key of this struct

type ForeignKeyColumn = rectangle_id

The database column representing the foreign key of the table this struct represents Read more

impl Clone for Rectangle[src]

impl DBObject<Rectangle, Rectangle> for Rectangle[src]

fn find_db_list(
    conn: &DbConnection,
    id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    offset: i64,
    limit: i64,
    order: Option<OrderTypes>,
    order_by: Option<String>,
    id_list: Option<Vec<i32>>
) -> Result<Vec<Rectangle>, Error>
[src]

Get a filtered list of rectangles from the database

impl Debug for Rectangle[src]

impl Default for Rectangle[src]

impl Display for Rectangle[src]

impl Fillable for Rectangle[src]

impl Filler<Rectangle, Rectangle> for Rectangle[src]

impl Filler<Rectangle, Rectangle> for Rectangle[src]

impl HasTable for Rectangle[src]

type Table = table

The table this type is associated with.

impl Hash for Rectangle[src]

impl<'ident> Identifiable for &'ident Rectangle[src]

type Id = &'ident i32

The type of this struct's identifier. Read more

impl<'insert> Insertable<table> for Rectangle[src]

type Values = <(Option<Eq<id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<x1, i32>>, Option<Eq<y1, i32>>, Option<Eq<x2, i32>>, Option<Eq<y2, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'insert> Insertable<table> for &'insert Rectangle[src]

type Values = <(Option<Eq<id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<x1, &'insert i32>>, Option<Eq<y1, &'insert i32>>, Option<Eq<x2, &'insert i32>>, Option<Eq<y2, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<Rectangle> for Rectangle[src]

impl PartialEq<Rectangle> for Rectangle[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Rectangle where
    (i32, i32, i32, i32, i32, i32): Queryable<__ST, __DB>, 
[src]

type Row = <(i32, i32, i32, i32, i32, i32) as Queryable<__ST, __DB>>::Row

The Rust type you'd like to map from. Read more

impl<'insert> UndecoratedInsertRecord<table> for Rectangle[src]

Auto Trait Implementations

impl RefUnwindSafe for Rectangle

impl Send for Rectangle

impl Sync for Rectangle

impl Unpin for Rectangle

impl UnwindSafe for Rectangle

Blanket Implementations

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

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

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

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

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

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

impl<T> IntoSql for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,