pub struct AiSessionBackupPush {
pub id: String,
pub head: Option<HashMap<String, Value>>,
pub chats: Option<Vec<AiSessionBackupChat>>,
pub images: Option<Vec<AiSessionBackupImage>>,
pub artifacts: Option<HashMap<String, Value>>,
pub delete_chats: Option<Vec<String>>,
pub delete_images: Option<Vec<AiSessionBackupPushDeleteImagesInner>>,
pub partial: Option<bool>,
pub whole: Option<bool>,
pub push: Option<String>,
pub opens: Option<bool>,
pub epoch: Option<i32>,
}Fields§
§id: String§head: Option<HashMap<String, Value>>§chats: Option<Vec<AiSessionBackupChat>>§images: Option<Vec<AiSessionBackupImage>>§artifacts: Option<HashMap<String, Value>>§delete_chats: Option<Vec<String>>§delete_images: Option<Vec<AiSessionBackupPushDeleteImagesInner>>§partial: Option<bool>more parts of this session follow, in this push or a later one; the session is not listed on this one. Such a part names its push (push), or it is refused
whole: Option<bool>a part of a push of the session whole; the head is on the part that opens it, which replaces whatever the storage holds of the session, and every piece the browser has is on one of them. An incremental part instead rides on a session the storage lists and is refused with needs_whole when it lists none
push: Option<String>a push split over several parts names itself on each with a token the browser draws; the part that opens it unlists the session and the last part lists it again, and a later part is written only while that token is the one there (refused with needs_whole otherwise)
opens: Option<bool>this part opens the push named by push
epoch: Option<i32>the session’s move count (its record’s moves), kept with the marker that lists the session; an incremental part rides on the marker of the same count
Implementations§
Source§impl AiSessionBackupPush
impl AiSessionBackupPush
pub fn new(id: String) -> AiSessionBackupPush
Trait Implementations§
Source§impl Clone for AiSessionBackupPush
impl Clone for AiSessionBackupPush
Source§fn clone(&self) -> AiSessionBackupPush
fn clone(&self) -> AiSessionBackupPush
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more