pub struct ColumnBigint {
pub key: String,
pub type: String,
pub status: ColumnStatus,
pub error: String,
pub required: bool,
pub array: Option<bool>,
pub created_at: String,
pub updated_at: String,
pub min: Option<i64>,
pub max: Option<i64>,
pub default: Option<i64>,
}Expand description
ColumnBigInt
Fields§
§key: StringColumn Key.
type: StringColumn type.
status: ColumnStatusColumn status. Possible values: available, processing, deleting,
stuck, or failed
error: StringError message. Displays error generated on failure of creating or deleting an column.
required: boolIs column required?
array: Option<bool>Is column an array?
created_at: StringColumn creation date in ISO 8601 format.
updated_at: StringColumn update date in ISO 8601 format.
min: Option<i64>Minimum value to enforce for new documents.
max: Option<i64>Maximum value to enforce for new documents.
default: Option<i64>Default value for column when not provided. Cannot be set when column is required.
Implementations§
Source§impl ColumnBigint
impl ColumnBigint
Sourcepub fn status(&self) -> &ColumnStatus
pub fn status(&self) -> &ColumnStatus
Get status
Sourcepub fn created_at(&self) -> &String
pub fn created_at(&self) -> &String
Get created_at
Sourcepub fn updated_at(&self) -> &String
pub fn updated_at(&self) -> &String
Get updated_at
Sourcepub fn set_default(self, default: i64) -> Self
pub fn set_default(self, default: i64) -> Self
Set default
Trait Implementations§
Source§impl Clone for ColumnBigint
impl Clone for ColumnBigint
Source§fn clone(&self) -> ColumnBigint
fn clone(&self) -> ColumnBigint
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 ColumnBigint
impl Debug for ColumnBigint
Source§impl<'de> Deserialize<'de> for ColumnBigint
impl<'de> Deserialize<'de> for ColumnBigint
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
Source§impl Serialize for ColumnBigint
impl Serialize for ColumnBigint
impl Model for ColumnBigint
Auto Trait Implementations§
impl Freeze for ColumnBigint
impl RefUnwindSafe for ColumnBigint
impl Send for ColumnBigint
impl Sync for ColumnBigint
impl Unpin for ColumnBigint
impl UnsafeUnpin for ColumnBigint
impl UnwindSafe for ColumnBigint
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