pub struct SevDisruption {
pub type_field: String,
pub category: String,
pub category_description: String,
pub description: String,
pub created: Option<String>,
pub affected_routes: Vec<Value>,
pub affected_stops: Vec<Value>,
pub additional_info: Option<String>,
pub closure_text: Option<String>,
}
Fields§
§type_field: String
§category: String
§category_description: String
§description: String
§created: Option<String>
§affected_routes: Vec<Value>
§affected_stops: Vec<Value>
§additional_info: Option<String>
§closure_text: Option<String>
Trait Implementations§
Source§impl Clone for SevDisruption
impl Clone for SevDisruption
Source§fn clone(&self) -> SevDisruption
fn clone(&self) -> SevDisruption
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 SevDisruption
impl Debug for SevDisruption
Source§impl Default for SevDisruption
impl Default for SevDisruption
Source§fn default() -> SevDisruption
fn default() -> SevDisruption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SevDisruption
impl<'de> Deserialize<'de> for SevDisruption
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 SevDisruption
impl PartialEq for SevDisruption
Source§impl Serialize for SevDisruption
impl Serialize for SevDisruption
impl StructuralPartialEq for SevDisruption
Auto Trait Implementations§
impl Freeze for SevDisruption
impl RefUnwindSafe for SevDisruption
impl Send for SevDisruption
impl Sync for SevDisruption
impl Unpin for SevDisruption
impl UnwindSafe for SevDisruption
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