pub struct SnapshotAttributes {
pub project_id: Option<u64>,
pub name: String,
pub description: Option<String>,
pub spec_items: Vec<SpecItem>,
pub item_count: Option<u64>,
pub edge_count: Option<u64>,
pub git_sha: Option<String>,
pub created_at: DateTime<Utc>,
}Fields§
§project_id: Option<u64>§name: String§description: Option<String>§spec_items: Vec<SpecItem>Full spec items — present in older single-snapshot responses, absent in current create/show responses (which return counts instead).
item_count: Option<u64>Number of spec items captured — returned by create/show (metadata: true).
edge_count: Option<u64>Number of dependency edges captured — returned by create/show (metadata: true).
git_sha: Option<String>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for SnapshotAttributes
impl Clone for SnapshotAttributes
Source§impl Debug for SnapshotAttributes
impl Debug for SnapshotAttributes
Source§impl<'de> Deserialize<'de> for SnapshotAttributes
impl<'de> Deserialize<'de> for SnapshotAttributes
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 Forget for SnapshotAttributes
impl Freeze for SnapshotAttributes
impl Move for SnapshotAttributes
impl RefUnwindSafe for SnapshotAttributes
impl Send for SnapshotAttributes
impl Sync for SnapshotAttributes
impl Unpin for SnapshotAttributes
impl UnsafeUnpin for SnapshotAttributeswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SpecItem>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for SnapshotAttributeswhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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