pub struct ProposalGcOptions {
pub expiry_days: u32,
pub auto_accept_confidence: f32,
pub dry_run: bool,
}Expand description
Options for the proposal GC pass.
Fields§
§expiry_days: u32Expire pending proposals older than this many days (0 = disabled).
auto_accept_confidence: f32Auto-accept proposals with proposed_confidence >= this threshold.
Set to 1.0 or above to disable (default = disabled = 1.1).
dry_run: boolDry-run: report what would happen without writing.
Trait Implementations§
Source§impl Clone for ProposalGcOptions
impl Clone for ProposalGcOptions
Source§fn clone(&self) -> ProposalGcOptions
fn clone(&self) -> ProposalGcOptions
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 ProposalGcOptions
impl Debug for ProposalGcOptions
Auto Trait Implementations§
impl Freeze for ProposalGcOptions
impl RefUnwindSafe for ProposalGcOptions
impl Send for ProposalGcOptions
impl Sync for ProposalGcOptions
impl Unpin for ProposalGcOptions
impl UnsafeUnpin for ProposalGcOptions
impl UnwindSafe for ProposalGcOptions
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