Struct git_checks::checks::RejectSymlinks [−][src]
pub struct RejectSymlinks;
Rejects the addition of symlinks to a repository.
Methods
impl RejectSymlinks[src]
impl RejectSymlinksTrait Implementations
impl Debug for RejectSymlinks[src]
impl Debug for RejectSymlinksfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for RejectSymlinks[src]
impl Default for RejectSymlinksfn default() -> RejectSymlinks[src]
fn default() -> RejectSymlinksReturns the "default value" for a type. Read more
impl Clone for RejectSymlinks[src]
impl Clone for RejectSymlinksfn clone(&self) -> RejectSymlinks[src]
fn clone(&self) -> RejectSymlinksReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for RejectSymlinks[src]
impl Copy for RejectSymlinksimpl ContentCheck for RejectSymlinks[src]
impl ContentCheck for RejectSymlinksfn name(&self) -> &str[src]
fn name(&self) -> &strThe name of the check.
fn check(&self, _: &CheckGitContext, content: &Content) -> Result<CheckResult>[src]
fn check(&self, _: &CheckGitContext, content: &Content) -> Result<CheckResult>Run the check.
Auto Trait Implementations
impl Send for RejectSymlinks
impl Send for RejectSymlinksimpl Sync for RejectSymlinks
impl Sync for RejectSymlinks