Struct seella::SessionRecord
source · pub struct SessionRecord {
pub session_id: Uuid,
pub client: IpAddr,
pub command: String,
pub coordinator: IpAddr,
pub duration: i32,
pub parameters: String,
pub request: String,
pub started_at: DateTime<Utc>,
pub request_size: Option<u32>,
pub response_size: Option<u32>,
pub username: Option<String>,
}
Expand description
The basic structure and data of a Session, before it is made into the head of a tree.
Fields§
§session_id: Uuid
§client: IpAddr
§command: String
§coordinator: IpAddr
§duration: i32
§parameters: String
§request: String
§started_at: DateTime<Utc>
§request_size: Option<u32>
§response_size: Option<u32>
§username: Option<String>
Trait Implementations§
source§impl Debug for SessionRecord
impl Debug for SessionRecord
source§impl<'de> Deserialize<'de> for SessionRecord
impl<'de> Deserialize<'de> for SessionRecord
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 RefUnwindSafe for SessionRecord
impl Send for SessionRecord
impl Sync for SessionRecord
impl Unpin for SessionRecord
impl UnwindSafe for SessionRecord
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