Struct fiberplane_models::workspaces::UpdateWorkspace
source · #[non_exhaustive]pub struct UpdateWorkspace {
pub display_name: Option<String>,
pub owner: Option<Base64Uuid>,
pub default_data_sources: Option<SelectedDataSources>,
pub front_matter_schemas: Option<BTreeMap<String, FrontMatterSchema>>,
}Expand description
Payload to update workspace settings
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.display_name: Option<String>§owner: Option<Base64Uuid>§default_data_sources: Option<SelectedDataSources>§front_matter_schemas: Option<BTreeMap<String, FrontMatterSchema>>Implementations§
source§impl UpdateWorkspace
impl UpdateWorkspace
sourcepub fn builder() -> UpdateWorkspaceBuilder<((), (), (), ())>
pub fn builder() -> UpdateWorkspaceBuilder<((), (), (), ())>
Create a builder for building UpdateWorkspace.
On the builder, call .display_name(...)(optional), .owner(...)(optional), .default_data_sources(...)(optional), .front_matter_schemas(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of UpdateWorkspace.
Trait Implementations§
source§impl Clone for UpdateWorkspace
impl Clone for UpdateWorkspace
source§fn clone(&self) -> UpdateWorkspace
fn clone(&self) -> UpdateWorkspace
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 UpdateWorkspace
impl Debug for UpdateWorkspace
source§impl<'de> Deserialize<'de> for UpdateWorkspace
impl<'de> Deserialize<'de> for UpdateWorkspace
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 UpdateWorkspace
impl PartialEq for UpdateWorkspace
source§fn eq(&self, other: &UpdateWorkspace) -> bool
fn eq(&self, other: &UpdateWorkspace) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UpdateWorkspace
impl Serialize for UpdateWorkspace
impl StructuralPartialEq for UpdateWorkspace
Auto Trait Implementations§
impl Freeze for UpdateWorkspace
impl RefUnwindSafe for UpdateWorkspace
impl Send for UpdateWorkspace
impl Sync for UpdateWorkspace
impl Unpin for UpdateWorkspace
impl UnwindSafe for UpdateWorkspace
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