pub struct CreateWorkspaceFork {
pub id: String,
pub name: String,
pub color: Option<String>,
pub forked_datatables: Option<Vec<CreateWorkspaceForkForkedDatatablesInner>>,
pub is_dev_workspace: Option<bool>,
pub lock_prod_deploy: Option<bool>,
pub lock_prod_forking: Option<bool>,
pub copy_members: Option<bool>,
}Fields§
§id: String§name: String§color: Option<String>§forked_datatables: Option<Vec<CreateWorkspaceForkForkedDatatablesInner>>§is_dev_workspace: Option<bool>Create the fork as a persistent dev workspace (id not required to carry the wm-fork- prefix; at most one per parent)
lock_prod_deploy: Option<bool>When creating a dev workspace, lock the parent (prod) against direct deployment
lock_prod_forking: Option<bool>When creating a dev workspace, prevent forking the parent (prod)
copy_members: Option<bool>Copy the parent’s members (users + group memberships) into the fork so the team can work in it
Implementations§
Source§impl CreateWorkspaceFork
impl CreateWorkspaceFork
pub fn new(id: String, name: String) -> CreateWorkspaceFork
Trait Implementations§
Source§impl Clone for CreateWorkspaceFork
impl Clone for CreateWorkspaceFork
Source§fn clone(&self) -> CreateWorkspaceFork
fn clone(&self) -> CreateWorkspaceFork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateWorkspaceFork
impl Debug for CreateWorkspaceFork
Source§impl Default for CreateWorkspaceFork
impl Default for CreateWorkspaceFork
Source§fn default() -> CreateWorkspaceFork
fn default() -> CreateWorkspaceFork
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateWorkspaceFork
impl<'de> Deserialize<'de> for CreateWorkspaceFork
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 CreateWorkspaceFork
impl PartialEq for CreateWorkspaceFork
Source§fn eq(&self, other: &CreateWorkspaceFork) -> bool
fn eq(&self, other: &CreateWorkspaceFork) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateWorkspaceFork
impl Serialize for CreateWorkspaceFork
impl StructuralPartialEq for CreateWorkspaceFork
Auto Trait Implementations§
impl Freeze for CreateWorkspaceFork
impl RefUnwindSafe for CreateWorkspaceFork
impl Send for CreateWorkspaceFork
impl Sync for CreateWorkspaceFork
impl Unpin for CreateWorkspaceFork
impl UnsafeUnpin for CreateWorkspaceFork
impl UnwindSafe for CreateWorkspaceFork
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