pub struct SafeAssetSummary {
pub asset_id: AssetRef,
pub study_id: StudyRef,
pub name: String,
pub description: Option<String>,
pub asset_type: AssetType,
pub date_created: Option<DateTime<Utc>>,
pub created_by: Option<String>,
}Expand description
Safe catalogue projection of an Asset.
Agent instructions are deliberately excluded because list operations do not authorize returning workflow instructions or other non-catalogue metadata.
Fields§
§asset_id: AssetRef§study_id: StudyRef§name: String§description: Option<String>§asset_type: AssetType§date_created: Option<DateTime<Utc>>§created_by: Option<String>Trait Implementations§
Source§impl Clone for SafeAssetSummary
impl Clone for SafeAssetSummary
Source§fn clone(&self) -> SafeAssetSummary
fn clone(&self) -> SafeAssetSummary
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 SafeAssetSummary
impl Debug for SafeAssetSummary
Source§impl<'de> Deserialize<'de> for SafeAssetSummary
impl<'de> Deserialize<'de> for SafeAssetSummary
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 SafeAssetSummary
impl PartialEq for SafeAssetSummary
Source§impl Serialize for SafeAssetSummary
impl Serialize for SafeAssetSummary
impl Eq for SafeAssetSummary
impl StructuralPartialEq for SafeAssetSummary
Auto Trait Implementations§
impl Freeze for SafeAssetSummary
impl RefUnwindSafe for SafeAssetSummary
impl Send for SafeAssetSummary
impl Sync for SafeAssetSummary
impl Unpin for SafeAssetSummary
impl UnsafeUnpin for SafeAssetSummary
impl UnwindSafe for SafeAssetSummary
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