pub struct TangCanDto {
pub main: String,
pub central: String,
pub residual: String,
pub strength: [u8; 3],
}Fields§
§main: String§central: String§residual: String§strength: [u8; 3]Trait Implementations§
Source§impl Clone for TangCanDto
impl Clone for TangCanDto
Source§fn clone(&self) -> TangCanDto
fn clone(&self) -> TangCanDto
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 TangCanDto
impl Debug for TangCanDto
Source§impl<'de> Deserialize<'de> for TangCanDto
impl<'de> Deserialize<'de> for TangCanDto
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 From<&TangCan> for TangCanDto
impl From<&TangCan> for TangCanDto
Auto Trait Implementations§
impl Freeze for TangCanDto
impl RefUnwindSafe for TangCanDto
impl Send for TangCanDto
impl Sync for TangCanDto
impl Unpin for TangCanDto
impl UnsafeUnpin for TangCanDto
impl UnwindSafe for TangCanDto
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