#[non_exhaustive]pub struct SessionRenameResult {
pub command_id: String,
pub status: CommandStatus,
pub name: Option<String>,
}Expand description
session/rename result: name is the canonical (normalized) name the
durable record settled.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringEchoes the client’s id.
status: CommandStatusAdmission status.
name: Option<String>The settled canonical name. Omitted on the RecoveryPending arm, which
answers {commandId, status: "accepted"} and delivers the name via
session/nameChanged / Session.name.
Trait Implementations§
Source§impl Clone for SessionRenameResult
impl Clone for SessionRenameResult
Source§impl Debug for SessionRenameResult
impl Debug for SessionRenameResult
Source§impl<'de> Deserialize<'de> for SessionRenameResult
impl<'de> Deserialize<'de> for SessionRenameResult
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
impl Eq for SessionRenameResult
Source§impl PartialEq for SessionRenameResult
impl PartialEq for SessionRenameResult
Source§impl Serialize for SessionRenameResult
impl Serialize for SessionRenameResult
impl StructuralPartialEq for SessionRenameResult
Auto Trait Implementations§
impl Forget for SessionRenameResult
impl Freeze for SessionRenameResult
impl Move for SessionRenameResult
impl RefUnwindSafe for SessionRenameResult
impl Send for SessionRenameResult
impl Sync for SessionRenameResult
impl Unpin for SessionRenameResult
impl UnsafeUnpin for SessionRenameResult
impl UnwindSafe for SessionRenameResult
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