pub struct ArtifactCreatePayload {
pub artifact_id: String,
pub format: String,
pub title: String,
pub uri: String,
pub content_digest: Option<String>,
pub source_event_ids: Vec<String>,
pub discussion_event_ids: Vec<String>,
pub map_event_id: Option<String>,
}Fields§
§artifact_id: String§format: String§title: String§uri: String§content_digest: Option<String>§source_event_ids: Vec<String>§discussion_event_ids: Vec<String>§map_event_id: Option<String>Trait Implementations§
Source§impl Clone for ArtifactCreatePayload
impl Clone for ArtifactCreatePayload
Source§fn clone(&self) -> ArtifactCreatePayload
fn clone(&self) -> ArtifactCreatePayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArtifactCreatePayload
impl Debug for ArtifactCreatePayload
Source§impl<'de> Deserialize<'de> for ArtifactCreatePayload
impl<'de> Deserialize<'de> for ArtifactCreatePayload
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 ArtifactCreatePayload
impl PartialEq for ArtifactCreatePayload
Source§fn eq(&self, other: &ArtifactCreatePayload) -> bool
fn eq(&self, other: &ArtifactCreatePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArtifactCreatePayload
impl Serialize for ArtifactCreatePayload
impl StructuralPartialEq for ArtifactCreatePayload
Auto Trait Implementations§
impl Freeze for ArtifactCreatePayload
impl RefUnwindSafe for ArtifactCreatePayload
impl Send for ArtifactCreatePayload
impl Sync for ArtifactCreatePayload
impl Unpin for ArtifactCreatePayload
impl UnsafeUnpin for ArtifactCreatePayload
impl UnwindSafe for ArtifactCreatePayload
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