[−][src]Struct git_event::GitRepoWatchHandler
Fields
url: GitUrlcredentials: Option<GitCredentials>branch_filter: Option<Vec<String>>use_shallow: boolImplementations
impl GitRepoWatchHandler[src]
pub fn new<U: AsRef<str>>(url: U) -> Result<Self>[src]
pub fn with_credentials(self, creds: GitCredentials) -> Self[src]
pub fn with_branch_filter(self, branch_list: Vec<String>) -> Self[src]
pub fn with_shallow_clone(self, shallow_choice: bool) -> Self[src]
pub async fn oneshot_report(self) -> Result<GitRepoState>[src]
pub fn watch_new_commits<F>(&mut self, closure: F) -> Result<()> where
F: FnOnce() + Copy, [src]
F: FnOnce() + Copy,
Trait Implementations
impl Clone for GitRepoWatchHandler[src]
pub fn clone(&self) -> GitRepoWatchHandler[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GitRepoWatchHandler[src]
Auto Trait Implementations
impl RefUnwindSafe for GitRepoWatchHandler
impl Send for GitRepoWatchHandler
impl Sync for GitRepoWatchHandler
impl Unpin for GitRepoWatchHandler
impl UnwindSafe for GitRepoWatchHandler
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,