pub struct PatchedWorkspaceRequest {
pub name: Option<String>,
pub is_active: Option<bool>,
pub slug: Option<String>,
pub description: Option<String>,
pub icon: Option<PathBuf>,
}
Fields§
§name: Option<String>
The name of the organization
is_active: Option<bool>
§slug: Option<String>
The name in all lowercase, suitable for URL identification
description: Option<String>
§icon: Option<PathBuf>
Implementations§
Source§impl PatchedWorkspaceRequest
impl PatchedWorkspaceRequest
pub fn new() -> PatchedWorkspaceRequest
Trait Implementations§
Source§impl Clone for PatchedWorkspaceRequest
impl Clone for PatchedWorkspaceRequest
Source§fn clone(&self) -> PatchedWorkspaceRequest
fn clone(&self) -> PatchedWorkspaceRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PatchedWorkspaceRequest
impl Debug for PatchedWorkspaceRequest
Source§impl Default for PatchedWorkspaceRequest
impl Default for PatchedWorkspaceRequest
Source§fn default() -> PatchedWorkspaceRequest
fn default() -> PatchedWorkspaceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWorkspaceRequest
impl<'de> Deserialize<'de> for PatchedWorkspaceRequest
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 PatchedWorkspaceRequest
impl PartialEq for PatchedWorkspaceRequest
Source§fn eq(&self, other: &PatchedWorkspaceRequest) -> bool
fn eq(&self, other: &PatchedWorkspaceRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for PatchedWorkspaceRequest
impl Serialize for PatchedWorkspaceRequest
impl StructuralPartialEq for PatchedWorkspaceRequest
Auto Trait Implementations§
impl Freeze for PatchedWorkspaceRequest
impl RefUnwindSafe for PatchedWorkspaceRequest
impl Send for PatchedWorkspaceRequest
impl Sync for PatchedWorkspaceRequest
impl Unpin for PatchedWorkspaceRequest
impl UnwindSafe for PatchedWorkspaceRequest
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