pub struct SessionCreateInput {
pub parent_id: Option<String>,
pub title: Option<String>,
pub permission: Option<Value>,
}Expand description
Input for creating a new session.
Fields§
§parent_id: Option<String>Optional parent session id when creating a child session.
title: Option<String>Optional human-readable session title.
permission: Option<Value>Optional permission configuration payload.
Trait Implementations§
Source§impl Clone for SessionCreateInput
impl Clone for SessionCreateInput
Source§fn clone(&self) -> SessionCreateInput
fn clone(&self) -> SessionCreateInput
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionCreateInput
impl Debug for SessionCreateInput
Source§impl Default for SessionCreateInput
impl Default for SessionCreateInput
Source§fn default() -> SessionCreateInput
fn default() -> SessionCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionCreateInput
impl<'de> Deserialize<'de> for SessionCreateInput
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
Auto Trait Implementations§
impl Freeze for SessionCreateInput
impl RefUnwindSafe for SessionCreateInput
impl Send for SessionCreateInput
impl Sync for SessionCreateInput
impl Unpin for SessionCreateInput
impl UnsafeUnpin for SessionCreateInput
impl UnwindSafe for SessionCreateInput
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