pub struct PgAssetVersionReadModel {
pub version_id: VersionId,
pub asset_id: AssetId,
pub major: i32,
pub minor: i32,
pub patch: i32,
pub version_label: Option<String>,
pub version_note: Option<String>,
pub is_latest: Option<bool>,
pub doi: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub created_by: Option<String>,
}Fields§
§version_id: VersionId§asset_id: AssetId§major: i32§minor: i32§patch: i32§version_label: Option<String>§version_note: Option<String>§is_latest: Option<bool>§doi: Option<String>§created_at: Option<DateTime<Utc>>§created_by: Option<String>Trait Implementations§
Source§impl Clone for PgAssetVersionReadModel
impl Clone for PgAssetVersionReadModel
Source§fn clone(&self) -> PgAssetVersionReadModel
fn clone(&self) -> PgAssetVersionReadModel
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 PgAssetVersionReadModel
impl Debug for PgAssetVersionReadModel
Source§impl PartialEq for PgAssetVersionReadModel
impl PartialEq for PgAssetVersionReadModel
impl Eq for PgAssetVersionReadModel
impl StructuralPartialEq for PgAssetVersionReadModel
Auto Trait Implementations§
impl Freeze for PgAssetVersionReadModel
impl RefUnwindSafe for PgAssetVersionReadModel
impl Send for PgAssetVersionReadModel
impl Sync for PgAssetVersionReadModel
impl Unpin for PgAssetVersionReadModel
impl UnsafeUnpin for PgAssetVersionReadModel
impl UnwindSafe for PgAssetVersionReadModel
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