pub struct Settings {
pub threshold: usize,
pub open_transaction_limit: Option<usize>,
pub command_history_limit: Option<usize>,
}Fields§
§threshold: usizeThe amount of approvals you need to execute
open_transaction_limit: Option<usize>How many active transactions can be open on a canister at once
command_history_limit: Option<usize>How many previous transactions will store command history
Trait Implementations§
Source§impl CandidType for Settings
impl CandidType for Settings
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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