pub struct RenderedMessage {
pub command: String,
pub new_session_ref: Option<String>,
}Expand description
A message template rendered into a runnable command line, plus the
reference the session will answer to afterwards where the agent forks
(NEW_SESSION_PLACEHOLDER). The caller records that reference only once
the send is under way, so a command that never ran leaves the session
pointing where it did.
Fields§
§command: String§new_session_ref: Option<String>The fresh reference bound to {new_session}, or None for a template
that resumes its session in place.
Trait Implementations§
Source§impl Clone for RenderedMessage
impl Clone for RenderedMessage
Source§fn clone(&self) -> RenderedMessage
fn clone(&self) -> RenderedMessage
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 RenderedMessage
impl Debug for RenderedMessage
impl Eq for RenderedMessage
Source§impl PartialEq for RenderedMessage
impl PartialEq for RenderedMessage
impl StructuralPartialEq for RenderedMessage
Auto Trait Implementations§
impl Freeze for RenderedMessage
impl RefUnwindSafe for RenderedMessage
impl Send for RenderedMessage
impl Sync for RenderedMessage
impl Unpin for RenderedMessage
impl UnsafeUnpin for RenderedMessage
impl UnwindSafe for RenderedMessage
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.