pub struct SessionListAnswer {
pub sessions: Vec<SessionSummary>,
pub lines: Vec<ScreenLine>,
}Expand description
Answer to session.list: the picker rows plus the screen the host
composed. A client prints lines; sessions stays for programmatic
consumers that want the data rather than the screen.
Fields§
§sessions: Vec<SessionSummary>§lines: Vec<ScreenLine>Trait Implementations§
Source§impl Clone for SessionListAnswer
impl Clone for SessionListAnswer
Source§impl Debug for SessionListAnswer
impl Debug for SessionListAnswer
Source§impl<'de> Deserialize<'de> for SessionListAnswer
impl<'de> Deserialize<'de> for SessionListAnswer
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
Source§impl PartialEq for SessionListAnswer
impl PartialEq for SessionListAnswer
Source§impl Serialize for SessionListAnswer
impl Serialize for SessionListAnswer
impl StructuralPartialEq for SessionListAnswer
Auto Trait Implementations§
impl Forget for SessionListAnswer
impl Freeze for SessionListAnswerwhere
*const u8 is !null: Freeze,
PhantomData<SessionSummary>: Freeze,
PhantomData<ScreenLine>: Freeze,
impl Move for SessionListAnswer
impl RefUnwindSafe for SessionListAnswer
impl Send for SessionListAnswerwhere
RawVecInner: Send,
impl Sync for SessionListAnswerwhere
RawVecInner: Sync,
impl Unpin for SessionListAnswer
impl UnsafeUnpin for SessionListAnswerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<SessionSummary>: UnsafeUnpin,
PhantomData<ScreenLine>: UnsafeUnpin,
impl UnwindSafe for SessionListAnswerwhere
RawVecInner: UnwindSafe,
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