pub struct PgStudyAccessReadModel {
pub study_id: StudyId,
pub user_id: String,
pub date_granted: Option<DateTime<Utc>>,
pub granted_by: Option<String>,
}Fields§
§study_id: StudyId§user_id: String§date_granted: Option<DateTime<Utc>>§granted_by: Option<String>Trait Implementations§
Source§impl Clone for PgStudyAccessReadModel
impl Clone for PgStudyAccessReadModel
Source§fn clone(&self) -> PgStudyAccessReadModel
fn clone(&self) -> PgStudyAccessReadModel
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 PgStudyAccessReadModel
impl Debug for PgStudyAccessReadModel
Source§impl PartialEq for PgStudyAccessReadModel
impl PartialEq for PgStudyAccessReadModel
impl Eq for PgStudyAccessReadModel
impl StructuralPartialEq for PgStudyAccessReadModel
Auto Trait Implementations§
impl Freeze for PgStudyAccessReadModel
impl RefUnwindSafe for PgStudyAccessReadModel
impl Send for PgStudyAccessReadModel
impl Sync for PgStudyAccessReadModel
impl Unpin for PgStudyAccessReadModel
impl UnsafeUnpin for PgStudyAccessReadModel
impl UnwindSafe for PgStudyAccessReadModel
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more