pub struct ThreadCreatePlan {
pub name: ThreadId,
pub ephemeral: bool,
pub ttl_secs: Option<u32>,
}Expand description
Pure plan for heddle thread create after name validation.
Fields§
§name: ThreadId§ephemeral: bool§ttl_secs: Option<u32>Trait Implementations§
Source§impl Clone for ThreadCreatePlan
impl Clone for ThreadCreatePlan
Source§fn clone(&self) -> ThreadCreatePlan
fn clone(&self) -> ThreadCreatePlan
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 ThreadCreatePlan
impl Debug for ThreadCreatePlan
impl Eq for ThreadCreatePlan
Source§impl PartialEq for ThreadCreatePlan
impl PartialEq for ThreadCreatePlan
impl StructuralPartialEq for ThreadCreatePlan
Auto Trait Implementations§
impl Freeze for ThreadCreatePlan
impl RefUnwindSafe for ThreadCreatePlan
impl Send for ThreadCreatePlan
impl Sync for ThreadCreatePlan
impl Unpin for ThreadCreatePlan
impl UnsafeUnpin for ThreadCreatePlan
impl UnwindSafe for ThreadCreatePlan
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