pub struct LedgerSettings {
pub mode: Option<String>,
pub tag_pattern: Option<String>,
pub dry_run_default: Option<bool>,
pub backoff_base_ms: Option<u64>,
}Expand description
Behavioural knobs for the sequencer.
Fields§
§mode: Option<String>Version-discovery mode: "git-tag" or "snapshot".
tag_pattern: Option<String>Glob pattern used to match git tags for this crate.
dry_run_default: Option<bool>If true, the sequencer runs in dry-run mode by default.
backoff_base_ms: Option<u64>Base delay in milliseconds for exponential backoff on registry calls.
Trait Implementations§
Source§impl Clone for LedgerSettings
impl Clone for LedgerSettings
Source§fn clone(&self) -> LedgerSettings
fn clone(&self) -> LedgerSettings
Returns a duplicate of the value. Read more
1.0.0 · 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 LedgerSettings
impl Debug for LedgerSettings
Source§impl Default for LedgerSettings
impl Default for LedgerSettings
Source§fn default() -> LedgerSettings
fn default() -> LedgerSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LedgerSettings
impl<'de> Deserialize<'de> for LedgerSettings
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 LedgerSettings
impl PartialEq for LedgerSettings
Source§impl Serialize for LedgerSettings
impl Serialize for LedgerSettings
impl StructuralPartialEq for LedgerSettings
Auto Trait Implementations§
impl Freeze for LedgerSettings
impl RefUnwindSafe for LedgerSettings
impl Send for LedgerSettings
impl Sync for LedgerSettings
impl Unpin for LedgerSettings
impl UnsafeUnpin for LedgerSettings
impl UnwindSafe for LedgerSettings
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