pub struct AncientTrait {
pub name: String,
pub text: String,
}
Fields§
§name: String
The name of the ancient trait
text: String
The text value of the ancient trait
Trait Implementations§
Source§impl Clone for AncientTrait
impl Clone for AncientTrait
Source§fn clone(&self) -> AncientTrait
fn clone(&self) -> AncientTrait
Returns a copy 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 AncientTrait
impl Debug for AncientTrait
Source§impl<'de> Deserialize<'de> for AncientTrait
impl<'de> Deserialize<'de> for AncientTrait
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
Auto Trait Implementations§
impl Freeze for AncientTrait
impl RefUnwindSafe for AncientTrait
impl Send for AncientTrait
impl Sync for AncientTrait
impl Unpin for AncientTrait
impl UnwindSafe for AncientTrait
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