Struct gitlab::systemhooks::KeySystemHook [−][src]
pub struct KeySystemHook { pub event_name: KeyEvent, pub created_at: DateTime<Utc>, pub updated_at: DateTime<Utc>, pub username: String, pub key: String, pub id: SshKeyId, }
Expand description
An SSH key hook.
Fields
event_name: KeyEvent
The event which occurred.
created_at: DateTime<Utc>
When the key was added.
updated_at: DateTime<Utc>
When the key was last updated.
username: String
The username of the user.
key: String
The content of the key.
id: SshKeyId
The ID of the key.
Trait Implementations
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 KeySystemHook
impl Send for KeySystemHook
impl Sync for KeySystemHook
impl Unpin for KeySystemHook
impl UnwindSafe for KeySystemHook
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more