pub struct PgCreateAsset {
pub asset_id: Option<AssetId>,
pub study_id: StudyId,
pub name: String,
pub description: Option<String>,
pub agent_instructions: Option<String>,
pub asset_type: AssetType,
pub date_created: Option<DateTime<Utc>>,
pub created_by: Option<String>,
}Fields§
§asset_id: Option<AssetId>§study_id: StudyId§name: String§description: Option<String>§agent_instructions: Option<String>§asset_type: AssetType§date_created: Option<DateTime<Utc>>§created_by: Option<String>Trait Implementations§
Source§impl Clone for PgCreateAsset
impl Clone for PgCreateAsset
Source§fn clone(&self) -> PgCreateAsset
fn clone(&self) -> PgCreateAsset
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 PgCreateAsset
impl Debug for PgCreateAsset
Source§impl PartialEq for PgCreateAsset
impl PartialEq for PgCreateAsset
impl Eq for PgCreateAsset
impl StructuralPartialEq for PgCreateAsset
Auto Trait Implementations§
impl Freeze for PgCreateAsset
impl RefUnwindSafe for PgCreateAsset
impl Send for PgCreateAsset
impl Sync for PgCreateAsset
impl Unpin for PgCreateAsset
impl UnsafeUnpin for PgCreateAsset
impl UnwindSafe for PgCreateAsset
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