pub struct TypeTableMeta { /* private fields */ }Expand description
Metadata describing a CCDB type table containing constants.
Implementations§
Source§impl TypeTableMeta
impl TypeTableMeta
Sourcepub fn directory_id(&self) -> Id
pub fn directory_id(&self) -> Id
Identifier of the directory containing the type.
Sourcepub fn n_assignments(&self) -> i64
pub fn n_assignments(&self) -> i64
Number of assignments referencing this table.
Identifier of the user who created the type.
Sourcepub fn is_deprecated(&self) -> bool
pub fn is_deprecated(&self) -> bool
True when the type has been deprecated.
Sourcepub fn deprecated_by_user_id(&self) -> Id
pub fn deprecated_by_user_id(&self) -> Id
Identifier of the user who deprecated the type.
Sourcepub fn locked_by_user_id(&self) -> Id
pub fn locked_by_user_id(&self) -> Id
Identifier of the user who locked the type.
Sourcepub fn created(&self) -> CCDBResult<DateTime<Utc>>
pub fn created(&self) -> CCDBResult<DateTime<Utc>>
Timestamp describing when the type was created.
§Errors
Returns an error if the stored creation timestamp cannot be parsed as a UTC datetime.
Trait Implementations§
Source§impl Clone for TypeTableMeta
impl Clone for TypeTableMeta
Source§fn clone(&self) -> TypeTableMeta
fn clone(&self) -> TypeTableMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 TypeTableMeta
impl Debug for TypeTableMeta
Source§impl Default for TypeTableMeta
impl Default for TypeTableMeta
Source§fn default() -> TypeTableMeta
fn default() -> TypeTableMeta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TypeTableMeta
impl RefUnwindSafe for TypeTableMeta
impl Send for TypeTableMeta
impl Sync for TypeTableMeta
impl Unpin for TypeTableMeta
impl UnwindSafe for TypeTableMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more