Struct qdb::DatabaseField
source · pub struct DatabaseField(/* private fields */);Implementations§
source§impl DatabaseField
impl DatabaseField
pub fn new(field: RawField) -> Self
pub fn into_raw(self) -> RawField
pub fn entity_id(&self) -> String
pub fn name(&self) -> String
pub fn value(&self) -> DatabaseValue
pub fn write_time(&self) -> DateTime<Utc>
pub fn writer_id(&self) -> String
pub fn update_entity_id(&self, entity_id: &str)
pub fn update_value(&self, value: DatabaseValue)
pub fn update_write_time(&self, write_time: DateTime<Utc>)
pub fn update_writer_id(&self, writer_id: &str)
pub fn update_name(&self, name: &str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseField
impl !RefUnwindSafe for DatabaseField
impl !Send for DatabaseField
impl !Sync for DatabaseField
impl Unpin for DatabaseField
impl !UnwindSafe for DatabaseField
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)