pub struct CourierPlan {
pub name: String,
pub text: String,
pub model: String,
pub cwd: PathBuf,
pub timeout: Duration,
}Expand description
Everything one courier invocation needs.
Fields§
§name: StringRegistry name of the receiving session.
text: StringExact text to deliver.
model: StringModel the courier itself runs on.
cwd: PathBufDirectory the courier runs in.
timeout: DurationWall-clock ceiling before the courier is killed.
Implementations§
Trait Implementations§
Source§impl Clone for CourierPlan
impl Clone for CourierPlan
Source§fn clone(&self) -> CourierPlan
fn clone(&self) -> CourierPlan
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 CourierPlan
impl Debug for CourierPlan
impl Eq for CourierPlan
Source§impl PartialEq for CourierPlan
impl PartialEq for CourierPlan
impl StructuralPartialEq for CourierPlan
Auto Trait Implementations§
impl Freeze for CourierPlan
impl RefUnwindSafe for CourierPlan
impl Send for CourierPlan
impl Sync for CourierPlan
impl Unpin for CourierPlan
impl UnsafeUnpin for CourierPlan
impl UnwindSafe for CourierPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.