pub struct ValueAssignment {
pub name: String,
pub ty: Type,
pub value: Value,
}Expand description
A value assignment within a module (e.g., oidName OBJECT IDENTIFIER ::= { 1 2 3 })
Fields§
§name: String§ty: Type§value: ValueTrait Implementations§
Source§impl Clone for ValueAssignment
impl Clone for ValueAssignment
Source§fn clone(&self) -> ValueAssignment
fn clone(&self) -> ValueAssignment
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 ValueAssignment
impl Debug for ValueAssignment
Source§impl PartialEq for ValueAssignment
impl PartialEq for ValueAssignment
impl StructuralPartialEq for ValueAssignment
Auto Trait Implementations§
impl Freeze for ValueAssignment
impl RefUnwindSafe for ValueAssignment
impl Send for ValueAssignment
impl Sync for ValueAssignment
impl Unpin for ValueAssignment
impl UnsafeUnpin for ValueAssignment
impl UnwindSafe for ValueAssignment
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