pub struct AttachOffer {
pub state: AttachState,
pub detail: Option<String>,
pub interrupt: bool,
pub job: Option<String>,
}Expand description
Whether the owner can take a conversation over in its agent’s own
terminal now, as attach would answer it at this moment.
Fields§
§state: AttachStateWhere it stands.
detail: Option<String>SCV’s words for why attach is refused, as it would refuse it.
interrupt: boolattach with interrupt would stop the job running its turn and
then take it over.
job: Option<String>The background job running its turn, such as job-3, which
interrupt stops.
Implementations§
Trait Implementations§
Source§impl Clone for AttachOffer
impl Clone for AttachOffer
Source§impl Debug for AttachOffer
impl Debug for AttachOffer
Source§impl<'de> Deserialize<'de> for AttachOffer
impl<'de> Deserialize<'de> for AttachOffer
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
impl Eq for AttachOffer
Source§impl PartialEq for AttachOffer
impl PartialEq for AttachOffer
Source§impl Serialize for AttachOffer
impl Serialize for AttachOffer
impl StructuralPartialEq for AttachOffer
Auto Trait Implementations§
impl Freeze for AttachOffer
impl RefUnwindSafe for AttachOffer
impl Send for AttachOffer
impl Sync for AttachOffer
impl Unpin for AttachOffer
impl UnsafeUnpin for AttachOffer
impl UnwindSafe for AttachOffer
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