pub struct TrainServiceAlertMessage {
pub content: String,
pub created_date: String,
}
Fields§
§content: String
§created_date: String
Trait Implementations§
source§impl Clone for TrainServiceAlertMessage
impl Clone for TrainServiceAlertMessage
source§fn clone(&self) -> TrainServiceAlertMessage
fn clone(&self) -> TrainServiceAlertMessage
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 TrainServiceAlertMessage
impl Debug for TrainServiceAlertMessage
source§impl<'de> Deserialize<'de> for TrainServiceAlertMessage
impl<'de> Deserialize<'de> for TrainServiceAlertMessage
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 TrainServiceAlertMessage
impl PartialEq for TrainServiceAlertMessage
source§fn eq(&self, other: &TrainServiceAlertMessage) -> bool
fn eq(&self, other: &TrainServiceAlertMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TrainServiceAlertMessage
impl Serialize for TrainServiceAlertMessage
impl StructuralPartialEq for TrainServiceAlertMessage
Auto Trait Implementations§
impl RefUnwindSafe for TrainServiceAlertMessage
impl Send for TrainServiceAlertMessage
impl Sync for TrainServiceAlertMessage
impl Unpin for TrainServiceAlertMessage
impl UnwindSafe for TrainServiceAlertMessage
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