pub struct CreateWorkspaceBody {
pub name: String,
}Fields§
§name: StringThe name of the workspace
Implementations§
Source§impl CreateWorkspaceBody
impl CreateWorkspaceBody
pub fn new(name: String) -> CreateWorkspaceBody
Trait Implementations§
Source§impl Clone for CreateWorkspaceBody
impl Clone for CreateWorkspaceBody
Source§fn clone(&self) -> CreateWorkspaceBody
fn clone(&self) -> CreateWorkspaceBody
Returns a duplicate 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 CreateWorkspaceBody
impl Debug for CreateWorkspaceBody
Source§impl Default for CreateWorkspaceBody
impl Default for CreateWorkspaceBody
Source§fn default() -> CreateWorkspaceBody
fn default() -> CreateWorkspaceBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateWorkspaceBody
impl<'de> Deserialize<'de> for CreateWorkspaceBody
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 CreateWorkspaceBody
impl PartialEq for CreateWorkspaceBody
Source§impl Serialize for CreateWorkspaceBody
impl Serialize for CreateWorkspaceBody
impl StructuralPartialEq for CreateWorkspaceBody
Auto Trait Implementations§
impl Freeze for CreateWorkspaceBody
impl RefUnwindSafe for CreateWorkspaceBody
impl Send for CreateWorkspaceBody
impl Sync for CreateWorkspaceBody
impl Unpin for CreateWorkspaceBody
impl UnwindSafe for CreateWorkspaceBody
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