pub struct SessionIdentity {
pub process_id: String,
pub user: Option<String>,
pub database: Option<String>,
pub client_host: Option<String>,
pub application_name: Option<String>,
}Expand description
Identity metadata carried across related PostgreSQL events.
Fields§
§process_id: String§user: Option<String>§database: Option<String>§client_host: Option<String>§application_name: Option<String>Trait Implementations§
Source§impl Clone for SessionIdentity
impl Clone for SessionIdentity
Source§fn clone(&self) -> SessionIdentity
fn clone(&self) -> SessionIdentity
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 SessionIdentity
impl Debug for SessionIdentity
Source§impl<'de> Deserialize<'de> for SessionIdentity
impl<'de> Deserialize<'de> for SessionIdentity
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
Source§impl PartialEq for SessionIdentity
impl PartialEq for SessionIdentity
Source§impl Serialize for SessionIdentity
impl Serialize for SessionIdentity
impl Eq for SessionIdentity
impl StructuralPartialEq for SessionIdentity
Auto Trait Implementations§
impl Freeze for SessionIdentity
impl RefUnwindSafe for SessionIdentity
impl Send for SessionIdentity
impl Sync for SessionIdentity
impl Unpin for SessionIdentity
impl UnsafeUnpin for SessionIdentity
impl UnwindSafe for SessionIdentity
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