pub struct SafeAssetVersionSummary {
pub version_id: VersionRef,
pub asset_id: AssetRef,
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>,
}Expand description
Safe catalogue projection of one governed Asset version.
Fields§
§version_id: VersionRef§asset_id: AssetRef§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 SafeAssetVersionSummary
impl Clone for SafeAssetVersionSummary
Source§fn clone(&self) -> SafeAssetVersionSummary
fn clone(&self) -> SafeAssetVersionSummary
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 SafeAssetVersionSummary
impl Debug for SafeAssetVersionSummary
Source§impl<'de> Deserialize<'de> for SafeAssetVersionSummary
impl<'de> Deserialize<'de> for SafeAssetVersionSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SafeAssetVersionSummary
impl PartialEq for SafeAssetVersionSummary
Source§impl Serialize for SafeAssetVersionSummary
impl Serialize for SafeAssetVersionSummary
impl Eq for SafeAssetVersionSummary
impl StructuralPartialEq for SafeAssetVersionSummary
Auto Trait Implementations§
impl Freeze for SafeAssetVersionSummary
impl RefUnwindSafe for SafeAssetVersionSummary
impl Send for SafeAssetVersionSummary
impl Sync for SafeAssetVersionSummary
impl Unpin for SafeAssetVersionSummary
impl UnsafeUnpin for SafeAssetVersionSummary
impl UnwindSafe for SafeAssetVersionSummary
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