pub struct PrecommitConfig {
pub include_shared_hooks: Option<bool>,
pub shared_hooks_repo: Option<String>,
pub shared_hooks_rev: Option<String>,
pub include_alef_hooks: Option<bool>,
pub alef_hooks_repo: Option<String>,
pub alef_hooks_rev: Option<String>,
}Fields§
Whether to include the shared shell/Docker/docs hooks block.
Repository URL for the shared hooks block.
Revision for the shared hooks block.
include_alef_hooks: Option<bool>Whether to include the alef hook block.
alef_hooks_repo: Option<String>Repository URL for the alef hook block.
alef_hooks_rev: Option<String>Revision for the alef hook block.
Trait Implementations§
Source§impl Clone for PrecommitConfig
impl Clone for PrecommitConfig
Source§fn clone(&self) -> PrecommitConfig
fn clone(&self) -> PrecommitConfig
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 PrecommitConfig
impl Debug for PrecommitConfig
Source§impl Default for PrecommitConfig
impl Default for PrecommitConfig
Source§fn default() -> PrecommitConfig
fn default() -> PrecommitConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrecommitConfig
impl<'de> Deserialize<'de> for PrecommitConfig
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 PrecommitConfig
impl PartialEq for PrecommitConfig
Source§fn eq(&self, other: &PrecommitConfig) -> bool
fn eq(&self, other: &PrecommitConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrecommitConfig
impl Serialize for PrecommitConfig
impl Eq for PrecommitConfig
impl StructuralPartialEq for PrecommitConfig
Auto Trait Implementations§
impl Freeze for PrecommitConfig
impl RefUnwindSafe for PrecommitConfig
impl Send for PrecommitConfig
impl Sync for PrecommitConfig
impl Unpin for PrecommitConfig
impl UnsafeUnpin for PrecommitConfig
impl UnwindSafe for PrecommitConfig
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