pub struct AutoPullSettings {
pub enabled: bool,
pub mode: Option<AutoPullMode>,
pub poll_interval_s: Option<i32>,
pub sync_forks: Option<bool>,
pub webhook_id: Option<i64>,
pub webhook_secret: Option<String>,
pub webhook_error: Option<String>,
pub last_synced_sha: Option<HashMap<String, String>>,
pub last_pull_status: Option<Box<AutoPullStatus>>,
}Fields§
§enabled: bool§mode: Option<AutoPullMode>§poll_interval_s: Option<i32>§sync_forks: Option<bool>§webhook_id: Option<i64>§webhook_secret: Option<String>§webhook_error: Option<String>§last_synced_sha: Option<HashMap<String, String>>§last_pull_status: Option<Box<AutoPullStatus>>Implementations§
Source§impl AutoPullSettings
impl AutoPullSettings
pub fn new(enabled: bool) -> AutoPullSettings
Trait Implementations§
Source§impl Clone for AutoPullSettings
impl Clone for AutoPullSettings
Source§fn clone(&self) -> AutoPullSettings
fn clone(&self) -> AutoPullSettings
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 AutoPullSettings
impl Debug for AutoPullSettings
Source§impl Default for AutoPullSettings
impl Default for AutoPullSettings
Source§fn default() -> AutoPullSettings
fn default() -> AutoPullSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoPullSettings
impl<'de> Deserialize<'de> for AutoPullSettings
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 AutoPullSettings
impl PartialEq for AutoPullSettings
Source§impl Serialize for AutoPullSettings
impl Serialize for AutoPullSettings
impl StructuralPartialEq for AutoPullSettings
Auto Trait Implementations§
impl Freeze for AutoPullSettings
impl RefUnwindSafe for AutoPullSettings
impl Send for AutoPullSettings
impl Sync for AutoPullSettings
impl Unpin for AutoPullSettings
impl UnsafeUnpin for AutoPullSettings
impl UnwindSafe for AutoPullSettings
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