pub struct CloneCreateArgs {
pub template: String,
pub name: Option<String>,
pub ttl_secs: u64,
pub durable: bool,
pub parent_pid: Option<i32>,
pub fresh: bool,
pub protect: bool,
pub env: Option<EnvTarget>,
pub wait_secs: Option<u64>,
pub branch: Option<BranchArgs>,
}Fields§
§template: String§name: Option<String>§ttl_secs: u64§durable: bool§parent_pid: Option<i32>§fresh: boolDestroy a running clone of this name first (its reservation is kept), then create it.
protect: boolNeeds a name; no parent, no TTL, and destroy needs force.
env: Option<EnvTarget>A .env entry the client will point at the clone; the daemon records it so a destroy can
put previous back.
wait_secs: Option<u64>How long to wait for room under the limits; None uses the daemon’s queue_wait.
branch: Option<BranchArgs>Clone the template built for this git branch (<template>~<branch>) instead.
Trait Implementations§
Source§impl Clone for CloneCreateArgs
impl Clone for CloneCreateArgs
Source§impl Debug for CloneCreateArgs
impl Debug for CloneCreateArgs
Source§impl<'de> Deserialize<'de> for CloneCreateArgs
impl<'de> Deserialize<'de> for CloneCreateArgs
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
Auto Trait Implementations§
impl Freeze for CloneCreateArgs
impl RefUnwindSafe for CloneCreateArgs
impl Send for CloneCreateArgs
impl Sync for CloneCreateArgs
impl Unpin for CloneCreateArgs
impl UnsafeUnpin for CloneCreateArgs
impl UnwindSafe for CloneCreateArgs
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