nominal_api/conjure/objects/scout/notebook/api/
snapshot_summary.rs1#[derive(
2 Debug,
3 Clone,
4 conjure_object::serde::Serialize,
5 conjure_object::serde::Deserialize,
6 PartialEq,
7 Eq,
8 PartialOrd,
9 Ord,
10 Hash
11)]
12#[serde(crate = "conjure_object::serde")]
13#[conjure_object::private::staged_builder::staged_builder]
14#[builder(crate = conjure_object::private::staged_builder, update, inline)]
15pub struct SnapshotSummary {
16 #[serde(rename = "rid")]
17 rid: super::super::super::rids::api::SnapshotRid,
18 #[serde(rename = "notebookRid")]
19 notebook_rid: super::super::super::rids::api::NotebookRid,
20 #[serde(rename = "authorRid")]
21 author_rid: super::super::super::rids::api::UserRid,
22 #[serde(rename = "createdAt")]
23 created_at: conjure_object::DateTime<conjure_object::Utc>,
24}
25impl SnapshotSummary {
26 #[inline]
27 pub fn rid(&self) -> &super::super::super::rids::api::SnapshotRid {
28 &self.rid
29 }
30 #[inline]
31 pub fn notebook_rid(&self) -> &super::super::super::rids::api::NotebookRid {
32 &self.notebook_rid
33 }
34 #[inline]
35 pub fn author_rid(&self) -> &super::super::super::rids::api::UserRid {
36 &self.author_rid
37 }
38 #[inline]
39 pub fn created_at(&self) -> conjure_object::DateTime<conjure_object::Utc> {
40 self.created_at
41 }
42}