pub struct WireSessionTranscriptRevision {
pub session_id: SessionId,
pub session_ref: Option<String>,
pub revision: String,
pub head_revision: String,
pub message_count: usize,
pub offset: usize,
pub limit: Option<usize>,
pub has_more: bool,
pub messages: Vec<WireSessionMessage>,
}Expand description
Full transcript revision body in canonical wire format.
Fields§
§session_id: SessionId§session_ref: Option<String>§revision: String§head_revision: String§message_count: usize§offset: usize§limit: Option<usize>§has_more: bool§messages: Vec<WireSessionMessage>Trait Implementations§
Source§impl Clone for WireSessionTranscriptRevision
impl Clone for WireSessionTranscriptRevision
Source§fn clone(&self) -> WireSessionTranscriptRevision
fn clone(&self) -> WireSessionTranscriptRevision
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<'de> Deserialize<'de> for WireSessionTranscriptRevision
impl<'de> Deserialize<'de> for WireSessionTranscriptRevision
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 From<SessionTranscriptRevisionPage> for WireSessionTranscriptRevision
impl From<SessionTranscriptRevisionPage> for WireSessionTranscriptRevision
Source§fn from(page: SessionTranscriptRevisionPage) -> Self
fn from(page: SessionTranscriptRevisionPage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WireSessionTranscriptRevision
impl RefUnwindSafe for WireSessionTranscriptRevision
impl Send for WireSessionTranscriptRevision
impl Sync for WireSessionTranscriptRevision
impl Unpin for WireSessionTranscriptRevision
impl UnsafeUnpin for WireSessionTranscriptRevision
impl UnwindSafe for WireSessionTranscriptRevision
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