pub struct IdRules {
pub max_length: usize,
pub decimal: bool,
}Expand description
What a platform allows in an id.
Fields§
§max_length: usizeBytes the circuit’s buffer holds.
decimal: boolASCII digits; otherwise printable ASCII without " or \.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for IdRules
impl Freeze for IdRules
impl Move for IdRules
impl RefUnwindSafe for IdRules
impl Send for IdRules
impl Sync for IdRules
impl Unpin for IdRules
impl UnsafeUnpin for IdRules
impl UnwindSafe for IdRules
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