Struct dmntk_feel::dto::ComponentDto
source · pub struct ComponentDto { /* private fields */ }
Expand description
DTO representing a component of the object value.
Trait Implementations§
source§impl Default for ComponentDto
impl Default for ComponentDto
source§fn default() -> ComponentDto
fn default() -> ComponentDto
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ComponentDto
impl<'de> Deserialize<'de> for ComponentDto
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 Serialize for ComponentDto
impl Serialize for ComponentDto
source§impl TryFrom<&ComponentDto> for Value
impl TryFrom<&ComponentDto> for Value
source§fn try_from(value: &ComponentDto) -> Result<Self, Self::Error>
fn try_from(value: &ComponentDto) -> Result<Self, Self::Error>
Converts a ComponentDto to Value.
§type Error = DmntkError
type Error = DmntkError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ComponentDto
impl RefUnwindSafe for ComponentDto
impl Send for ComponentDto
impl Sync for ComponentDto
impl Unpin for ComponentDto
impl UnwindSafe for ComponentDto
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