pub struct ConstantField {
pub access: Option<()>,
pub description: Description,
pub name: Option<String>,
pub rangeset: Vec<Range>,
pub resets: Option<FieldResets>,
pub value: ValueEntry,
}Fields§
§access: Option<()>§description: Description§name: Option<String>§rangeset: Vec<Range>§resets: Option<FieldResets>§value: ValueEntryTrait Implementations§
Source§impl Clone for ConstantField
impl Clone for ConstantField
Source§fn clone(&self) -> ConstantField
fn clone(&self) -> ConstantField
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 ConstantField
impl Debug for ConstantField
Source§impl<'de> Deserialize<'de> for ConstantField
impl<'de> Deserialize<'de> for ConstantField
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
Source§impl PartialEq for ConstantField
impl PartialEq for ConstantField
Source§impl Serialize for ConstantField
impl Serialize for ConstantField
impl Eq for ConstantField
impl StructuralPartialEq for ConstantField
Auto Trait Implementations§
impl Freeze for ConstantField
impl RefUnwindSafe for ConstantField
impl Send for ConstantField
impl Sync for ConstantField
impl Unpin for ConstantField
impl UnwindSafe for ConstantField
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