pub struct HandleContentItem {
pub id: String,
pub version: u64,
pub token_count: Option<u64>,
pub state: Option<ArtifactState>,
pub content: Option<String>,
pub targets: Option<Vec<TargetInfo>>,
}Expand description
Content item for name: "handle" — lightweight artifact reference.
Fields§
§id: String§version: u64§token_count: Option<u64>§state: Option<ArtifactState>§content: Option<String>§targets: Option<Vec<TargetInfo>>Trait Implementations§
Source§impl Clone for HandleContentItem
impl Clone for HandleContentItem
Source§fn clone(&self) -> HandleContentItem
fn clone(&self) -> HandleContentItem
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 HandleContentItem
impl Debug for HandleContentItem
Source§impl<'de> Deserialize<'de> for HandleContentItem
impl<'de> Deserialize<'de> for HandleContentItem
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
Auto Trait Implementations§
impl Freeze for HandleContentItem
impl RefUnwindSafe for HandleContentItem
impl Send for HandleContentItem
impl Sync for HandleContentItem
impl Unpin for HandleContentItem
impl UnsafeUnpin for HandleContentItem
impl UnwindSafe for HandleContentItem
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