pub struct ResumeSessionOptions {
pub session_id: String,
pub cursor: Option<String>,
pub exclude_items: Option<bool>,
pub history: Option<HistoryPreference>,
pub config: Option<SessionConfig>,
}Expand description
Options for MuseClient::resume_session.
Fields§
§session_id: StringThe session to load.
cursor: Option<String>A view cursor this client observed earlier. When set, the server returns only what follows it.
exclude_items: Option<bool>When true, return the session’s metadata and live state without its
history; page the history separately. Defaults to false.
history: Option<HistoryPreference>Which form of history to return; the server chooses when None. It is
a preference: the server falls back to another form when this one does
not fit its budget. Ignored when cursor is set or exclude_items is
Some(true).
config: Option<SessionConfig>Per-session configuration, as at start.
Trait Implementations§
Source§impl Clone for ResumeSessionOptions
impl Clone for ResumeSessionOptions
Source§impl Debug for ResumeSessionOptions
impl Debug for ResumeSessionOptions
Source§impl Default for ResumeSessionOptions
impl Default for ResumeSessionOptions
impl Eq for ResumeSessionOptions
Source§impl PartialEq for ResumeSessionOptions
impl PartialEq for ResumeSessionOptions
impl StructuralPartialEq for ResumeSessionOptions
Auto Trait Implementations§
impl Freeze for ResumeSessionOptions
impl RefUnwindSafe for ResumeSessionOptions
impl Send for ResumeSessionOptions
impl Sync for ResumeSessionOptions
impl Unpin for ResumeSessionOptions
impl UnsafeUnpin for ResumeSessionOptions
impl UnwindSafe for ResumeSessionOptions
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