#[non_exhaustive]pub struct ControlFamily {
pub family_id: String,
pub display_name: String,
/* private fields */
}Expand description
The regulatory family of the control.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.family_id: StringThe ID of the regulatory control family.
display_name: StringThe display name of the regulatory control family.
Implementations§
Source§impl ControlFamily
impl ControlFamily
pub fn new() -> Self
Sourcepub fn set_family_id<T: Into<String>>(self, v: T) -> Self
pub fn set_family_id<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ControlFamily
impl Clone for ControlFamily
Source§fn clone(&self) -> ControlFamily
fn clone(&self) -> ControlFamily
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 ControlFamily
impl Debug for ControlFamily
Source§impl Default for ControlFamily
impl Default for ControlFamily
Source§fn default() -> ControlFamily
fn default() -> ControlFamily
Returns the “default value” for a type. Read more
Source§impl Message for ControlFamily
impl Message for ControlFamily
Source§impl PartialEq for ControlFamily
impl PartialEq for ControlFamily
impl StructuralPartialEq for ControlFamily
Auto Trait Implementations§
impl Freeze for ControlFamily
impl RefUnwindSafe for ControlFamily
impl Send for ControlFamily
impl Sync for ControlFamily
impl Unpin for ControlFamily
impl UnsafeUnpin for ControlFamily
impl UnwindSafe for ControlFamily
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