pub struct AccessLog {
pub auth_result: bool,
pub auth_source: String,
pub failure_reason: Option<String>,
pub group_id: String,
pub hostname: String,
pub ip_address: IpAddr,
pub log_line: String,
pub timestamp: DateTime<Utc>,
pub username: String,
}
Fields§
§auth_result: bool
Flag that indicates whether the response should return successful authentication attempts only.
auth_source: String
Database against which someone attempted to authenticate.
failure_reason: Option<String>
Reason that the authentication failed. Null if authentication succeeded.
group_id: String
Unique 24-hexadecimal character string that identifies the project.
hostname: String
Human-readable label that identifies the hostname of the target node that received the authentication attempt.
ip_address: IpAddr
Internet Protocol address that attempted to authenticate with the database.
log_line: String
Text of the host log concerning the authentication attempt.
timestamp: DateTime<Utc>
Date and time when someone made this authentication attempt.
username: String
Username used to authenticate against the database.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AccessLog
impl<'de> Deserialize<'de> for AccessLog
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 AccessLog
impl RefUnwindSafe for AccessLog
impl Send for AccessLog
impl Sync for AccessLog
impl Unpin for AccessLog
impl UnwindSafe for AccessLog
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