pub struct ManagedSessionPatch {
pub title: Option<Option<String>>,
pub profile: Option<Option<String>>,
pub archived: Option<bool>,
pub metadata: BTreeMap<String, Value>,
}Expand description
Typed session update patch.
Fields§
§title: Option<Option<String>>Set or clear the title. Outer None means unchanged.
profile: Option<Option<String>>Set or clear the future-run profile. Outer None means unchanged.
archived: Option<bool>Explicit archive transition.
metadata: BTreeMap<String, Value>Allowlisted metadata replacements/removals (null removes).
Trait Implementations§
Source§impl Clone for ManagedSessionPatch
impl Clone for ManagedSessionPatch
Source§fn clone(&self) -> ManagedSessionPatch
fn clone(&self) -> ManagedSessionPatch
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 Debug for ManagedSessionPatch
impl Debug for ManagedSessionPatch
Source§impl Default for ManagedSessionPatch
impl Default for ManagedSessionPatch
Source§fn default() -> ManagedSessionPatch
fn default() -> ManagedSessionPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManagedSessionPatch
impl<'de> Deserialize<'de> for ManagedSessionPatch
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 ManagedSessionPatch
Source§impl PartialEq for ManagedSessionPatch
impl PartialEq for ManagedSessionPatch
Source§impl Serialize for ManagedSessionPatch
impl Serialize for ManagedSessionPatch
impl StructuralPartialEq for ManagedSessionPatch
Auto Trait Implementations§
impl Freeze for ManagedSessionPatch
impl RefUnwindSafe for ManagedSessionPatch
impl Send for ManagedSessionPatch
impl Sync for ManagedSessionPatch
impl Unpin for ManagedSessionPatch
impl UnsafeUnpin for ManagedSessionPatch
impl UnwindSafe for ManagedSessionPatch
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