pub struct AgentSessionUserStateInput {
pub user_id: Option<String>,
pub last_read_at: Option<DateTime<Utc>>,
}Fields§
§user_id: Option<String>The ID of the user this state belongs to.
last_read_at: Option<DateTime<Utc>>The time at which the user most recently viewed the session.
Trait Implementations§
Source§impl Clone for AgentSessionUserStateInput
impl Clone for AgentSessionUserStateInput
Source§fn clone(&self) -> AgentSessionUserStateInput
fn clone(&self) -> AgentSessionUserStateInput
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 AgentSessionUserStateInput
impl Debug for AgentSessionUserStateInput
Source§impl Default for AgentSessionUserStateInput
impl Default for AgentSessionUserStateInput
Source§fn default() -> AgentSessionUserStateInput
fn default() -> AgentSessionUserStateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentSessionUserStateInput
impl<'de> Deserialize<'de> for AgentSessionUserStateInput
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 AgentSessionUserStateInput
impl RefUnwindSafe for AgentSessionUserStateInput
impl Send for AgentSessionUserStateInput
impl Sync for AgentSessionUserStateInput
impl Unpin for AgentSessionUserStateInput
impl UnwindSafe for AgentSessionUserStateInput
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