pub struct DecayingModel {
pub id: Option<String>,
pub name: Option<String>,
}
Fields§
§id: Option<String>
§name: Option<String>
Implementations§
Source§impl DecayingModel
impl DecayingModel
pub fn new() -> DecayingModel
Trait Implementations§
Source§impl Clone for DecayingModel
impl Clone for DecayingModel
Source§fn clone(&self) -> DecayingModel
fn clone(&self) -> DecayingModel
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 DecayingModel
impl Debug for DecayingModel
Source§impl Default for DecayingModel
impl Default for DecayingModel
Source§fn default() -> DecayingModel
fn default() -> DecayingModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecayingModel
impl<'de> Deserialize<'de> for DecayingModel
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 PartialEq for DecayingModel
impl PartialEq for DecayingModel
Source§impl Serialize for DecayingModel
impl Serialize for DecayingModel
impl StructuralPartialEq for DecayingModel
Auto Trait Implementations§
impl Freeze for DecayingModel
impl RefUnwindSafe for DecayingModel
impl Send for DecayingModel
impl Sync for DecayingModel
impl Unpin for DecayingModel
impl UnwindSafe for DecayingModel
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