pub struct PgCreateAssetVersion {
pub classification: IngestClassification,
pub version_id: Option<VersionId>,
pub asset_id: AssetId,
pub major: Option<i32>,
pub minor: Option<i32>,
pub patch: Option<i32>,
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§
§classification: IngestClassification§version_id: Option<VersionId>§asset_id: AssetId§major: Option<i32>§minor: Option<i32>§patch: Option<i32>§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 PgCreateAssetVersion
impl Clone for PgCreateAssetVersion
Source§fn clone(&self) -> PgCreateAssetVersion
fn clone(&self) -> PgCreateAssetVersion
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 PgCreateAssetVersion
impl Debug for PgCreateAssetVersion
Source§impl PartialEq for PgCreateAssetVersion
impl PartialEq for PgCreateAssetVersion
impl Eq for PgCreateAssetVersion
impl StructuralPartialEq for PgCreateAssetVersion
Auto Trait Implementations§
impl Freeze for PgCreateAssetVersion
impl RefUnwindSafe for PgCreateAssetVersion
impl Send for PgCreateAssetVersion
impl Sync for PgCreateAssetVersion
impl Unpin for PgCreateAssetVersion
impl UnsafeUnpin for PgCreateAssetVersion
impl UnwindSafe for PgCreateAssetVersion
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