pub struct Opts {
pub flags: u8,
pub holdback_bps: u16,
pub warranty_days: u16,
pub kill_bps: u16,
pub reserve_days: u8,
pub rate: u64,
pub arbiter_id: u64,
pub judge_repo_id: u64,
pub salted: bool,
}Expand description
What a funder fixes beside the amount and the terms (48 bytes on the wire). Limits: holdback_bps <= 5000 and only with a warranty, warranty_days <= 90, kill_bps <= 2000; a STANDING order has a rate in 1..=amount, any other none.
Fields§
§flags: u8§holdback_bps: u16§warranty_days: u16§kill_bps: u16§reserve_days: u8§rate: u64§arbiter_id: u64§judge_repo_id: u64§salted: boolImplementations§
Trait Implementations§
impl Copy for Opts
impl Eq for Opts
impl StructuralPartialEq for Opts
Auto Trait Implementations§
impl Freeze for Opts
impl RefUnwindSafe for Opts
impl Send for Opts
impl Sync for Opts
impl Unpin for Opts
impl UnsafeUnpin for Opts
impl UnwindSafe for Opts
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