Struct fiberplane_models::notebooks::NotebookSummary
source · #[non_exhaustive]pub struct NotebookSummary {
pub id: Base64Uuid,
pub workspace_id: Base64Uuid,
pub created_at: Timestamp,
pub updated_at: Timestamp,
pub title: String,
pub visibility: NotebookVisibility,
pub created_by: CreatedBy,
pub labels: Vec<Label>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Base64Uuid§workspace_id: Base64Uuid§created_at: Timestamp§updated_at: Timestamp§title: String§visibility: NotebookVisibility§created_by: CreatedBy§labels: Vec<Label>Implementations§
source§impl NotebookSummary
impl NotebookSummary
sourcepub fn builder() -> NotebookSummaryBuilder<((), (), (), (), (), (), (), ())>
pub fn builder() -> NotebookSummaryBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building NotebookSummary.
On the builder, call .id(...), .workspace_id(...), .created_at(...), .updated_at(...), .title(...), .visibility(...), .created_by(...), .labels(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of NotebookSummary.
Trait Implementations§
source§impl Clone for NotebookSummary
impl Clone for NotebookSummary
source§fn clone(&self) -> NotebookSummary
fn clone(&self) -> NotebookSummary
Returns a copy 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 NotebookSummary
impl Debug for NotebookSummary
source§impl<'de> Deserialize<'de> for NotebookSummary
impl<'de> Deserialize<'de> for NotebookSummary
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<NotebookSummary> for NotebookSummary
impl PartialEq<NotebookSummary> for NotebookSummary
source§fn eq(&self, other: &NotebookSummary) -> bool
fn eq(&self, other: &NotebookSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NotebookSummary
impl Serialize for NotebookSummary
impl Eq for NotebookSummary
impl StructuralEq for NotebookSummary
impl StructuralPartialEq for NotebookSummary
Auto Trait Implementations§
impl RefUnwindSafe for NotebookSummary
impl Send for NotebookSummary
impl Sync for NotebookSummary
impl Unpin for NotebookSummary
impl UnwindSafe for NotebookSummary
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