pub struct ObjectDescription {
pub address: Address,
pub parameter_name: String,
pub data_type: DataType,
pub access: AccessType,
pub default_value: Value,
pub pdo_mappable: bool,
}Expand description
A single object dictionary entry described by the EDS.
Fields§
§address: AddressThe (index, subindex) address.
parameter_name: StringThe human-readable ParameterName.
data_type: DataTypeThe object’s data type.
access: AccessTypeThe declared access rights.
default_value: ValueThe default (EDS) or configured (DCF) value.
pdo_mappable: boolWhether the object may be mapped into a PDO.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectDescription
impl Clone for ObjectDescription
Source§fn clone(&self) -> ObjectDescription
fn clone(&self) -> ObjectDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ObjectDescription
impl RefUnwindSafe for ObjectDescription
impl Send for ObjectDescription
impl Sync for ObjectDescription
impl Unpin for ObjectDescription
impl UnsafeUnpin for ObjectDescription
impl UnwindSafe for ObjectDescription
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more