pub struct HookMetadata {Show 15 fields
pub command: Option<String>,
pub current_hash: String,
pub display_order: i64,
pub enabled: bool,
pub event_name: HookEventName,
pub handler_type: HookHandlerType,
pub is_managed: bool,
pub key: String,
pub matcher: Option<String>,
pub plugin_id: Option<String>,
pub source: HookSource,
pub source_path: AbsolutePathBuf,
pub status_message: Option<String>,
pub timeout_sec: i64,
pub trust_status: HookTrustStatus,
}Fields§
§command: Option<String>§current_hash: String§display_order: i64§enabled: bool§event_name: HookEventName§handler_type: HookHandlerType§is_managed: bool§key: String§matcher: Option<String>§plugin_id: Option<String>§source: HookSource§source_path: AbsolutePathBuf§status_message: Option<String>§timeout_sec: i64§trust_status: HookTrustStatusTrait Implementations§
Source§impl Clone for HookMetadata
impl Clone for HookMetadata
Source§fn clone(&self) -> HookMetadata
fn clone(&self) -> HookMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HookMetadata
impl Debug for HookMetadata
Source§impl<'de> Deserialize<'de> for HookMetadata
impl<'de> Deserialize<'de> for HookMetadata
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 HookMetadata
impl PartialEq for HookMetadata
Source§fn eq(&self, other: &HookMetadata) -> bool
fn eq(&self, other: &HookMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HookMetadata
impl Serialize for HookMetadata
impl StructuralPartialEq for HookMetadata
Auto Trait Implementations§
impl Freeze for HookMetadata
impl RefUnwindSafe for HookMetadata
impl Send for HookMetadata
impl Sync for HookMetadata
impl Unpin for HookMetadata
impl UnsafeUnpin for HookMetadata
impl UnwindSafe for HookMetadata
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