pub struct PgStudyCustodianReadModel {
pub study_id: StudyId,
pub user_id: String,
pub is_primary: bool,
pub date_granted: Option<DateTime<Utc>>,
pub granted_by: Option<String>,
}Fields§
§study_id: StudyId§user_id: String§is_primary: bool§date_granted: Option<DateTime<Utc>>§granted_by: Option<String>Trait Implementations§
Source§impl Clone for PgStudyCustodianReadModel
impl Clone for PgStudyCustodianReadModel
Source§fn clone(&self) -> PgStudyCustodianReadModel
fn clone(&self) -> PgStudyCustodianReadModel
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 PgStudyCustodianReadModel
impl Debug for PgStudyCustodianReadModel
impl Eq for PgStudyCustodianReadModel
impl StructuralPartialEq for PgStudyCustodianReadModel
Auto Trait Implementations§
impl Freeze for PgStudyCustodianReadModel
impl RefUnwindSafe for PgStudyCustodianReadModel
impl Send for PgStudyCustodianReadModel
impl Sync for PgStudyCustodianReadModel
impl Unpin for PgStudyCustodianReadModel
impl UnsafeUnpin for PgStudyCustodianReadModel
impl UnwindSafe for PgStudyCustodianReadModel
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