Struct ostree::RepoCommitModifier
source · [−]pub struct RepoCommitModifier(_);
Implementations
sourceimpl RepoCommitModifier
impl RepoCommitModifier
pub fn new(
flags: RepoCommitModifierFlags,
commit_filter: Option<Box_<dyn Fn(&Repo, &str, &FileInfo) -> RepoCommitFilterResult + 'static>>
) -> RepoCommitModifier
pub fn set_devino_cache(&self, cache: &RepoDevInoCache)
This is supported on crate feature
v2017_13
only.pub fn set_sepolicy(&self, sepolicy: Option<&SePolicy>)
pub fn set_sepolicy_from_commit<P: IsA<Cancellable>>(
&self,
repo: &Repo,
rev: &str,
cancellable: Option<&P>
) -> Result<(), Error>
This is supported on crate feature
v2020_4
only.pub fn set_xattr_callback<P: Fn(&Repo, &str, &FileInfo) -> Variant + 'static>(
&self,
callback: P
)
Trait Implementations
sourceimpl Clone for RepoCommitModifier
impl Clone for RepoCommitModifier
sourcefn clone(&self) -> RepoCommitModifier
fn clone(&self) -> RepoCommitModifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RepoCommitModifier
impl Debug for RepoCommitModifier
sourceimpl Hash for RepoCommitModifier
impl Hash for RepoCommitModifier
sourceimpl Ord for RepoCommitModifier
impl Ord for RepoCommitModifier
sourceimpl PartialEq<RepoCommitModifier> for RepoCommitModifier
impl PartialEq<RepoCommitModifier> for RepoCommitModifier
sourcefn eq(&self, other: &RepoCommitModifier) -> bool
fn eq(&self, other: &RepoCommitModifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RepoCommitModifier) -> bool
fn ne(&self, other: &RepoCommitModifier) -> bool
This method tests for !=
.
sourceimpl PartialOrd<RepoCommitModifier> for RepoCommitModifier
impl PartialOrd<RepoCommitModifier> for RepoCommitModifier
sourcefn partial_cmp(&self, other: &RepoCommitModifier) -> Option<Ordering>
fn partial_cmp(&self, other: &RepoCommitModifier) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl StaticType for RepoCommitModifier
impl StaticType for RepoCommitModifier
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl Eq for RepoCommitModifier
impl StructuralEq for RepoCommitModifier
impl StructuralPartialEq for RepoCommitModifier
Auto Trait Implementations
impl RefUnwindSafe for RepoCommitModifier
impl !Send for RepoCommitModifier
impl !Sync for RepoCommitModifier
impl Unpin for RepoCommitModifier
impl UnwindSafe for RepoCommitModifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more