pub struct UserStateConfig {
pub key_name: Option<String>,
pub min_cycles_required: u64,
pub max_cycles_per_user: u64,
pub general_settings: HashMap<String, String>,
}Fields§
§key_name: Option<String>§min_cycles_required: u64§max_cycles_per_user: u64§general_settings: HashMap<String, String>Trait Implementations§
Source§impl CandidType for UserStateConfig
impl CandidType for UserStateConfig
Source§impl Clone for UserStateConfig
impl Clone for UserStateConfig
Source§fn clone(&self) -> UserStateConfig
fn clone(&self) -> UserStateConfig
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 UserStateConfig
impl Debug for UserStateConfig
Source§impl Default for UserStateConfig
impl Default for UserStateConfig
Source§fn default() -> UserStateConfig
fn default() -> UserStateConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserStateConfig
impl<'de> Deserialize<'de> for UserStateConfig
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 UserStateConfig
impl RefUnwindSafe for UserStateConfig
impl Send for UserStateConfig
impl Sync for UserStateConfig
impl Unpin for UserStateConfig
impl UnwindSafe for UserStateConfig
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