pub struct ResumeSessionOptions {
pub session_id: String,
pub cursor: Option<String>,
pub exclude_items: Option<bool>,
pub history: Option<HistoryPreference>,
pub config: Option<SessionConfig>,
pub model_id: Option<String>,
pub permission_profile: Option<String>,
pub recovery_mode: Option<RecoveryMode>,
}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.
model_id: Option<String>The model to resume with; when None, the session keeps the model it
recorded.
permission_profile: Option<String>The permission profile to resume under, by id; when None, the
session keeps the authority it recorded.
recovery_mode: Option<RecoveryMode>Whether the resumed session is built with recovery on or off; the
host’s default applies when None.