pub struct GetMenuResponse {Show 13 fields
pub admin: Option<GetMenuResponseAdmin>,
pub current_station: Option<String>,
pub family: Option<Vec<GetMenuResponseFamilyItem>>,
pub help: Option<GetMenuResponseHelp>,
pub logo: Option<String>,
pub modules: Option<Vec<GetMenuResponseModulesItem>>,
pub personal: Option<GetMenuResponsePersonal>,
pub simulate: Option<bool>,
pub site_name: Option<String>,
pub stations: Option<Vec<GetMenuResponseStationsItem>>,
pub stations_count: Option<String>,
pub user: Option<GetMenuResponseUser>,
pub extra: Map<String, Value>,
}Fields§
§admin: Option<GetMenuResponseAdmin>§current_station: Option<String>§family: Option<Vec<GetMenuResponseFamilyItem>>§help: Option<GetMenuResponseHelp>§logo: Option<String>§modules: Option<Vec<GetMenuResponseModulesItem>>§personal: Option<GetMenuResponsePersonal>§simulate: Option<bool>§site_name: Option<String>§stations: Option<Vec<GetMenuResponseStationsItem>>§stations_count: Option<String>§user: Option<GetMenuResponseUser>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for GetMenuResponse
impl Clone for GetMenuResponse
Source§impl Debug for GetMenuResponse
impl Debug for GetMenuResponse
Source§impl Default for GetMenuResponse
impl Default for GetMenuResponse
Source§impl<'de> Deserialize<'de> for GetMenuResponse
impl<'de> Deserialize<'de> for GetMenuResponse
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 GetMenuResponse
impl PartialEq for GetMenuResponse
Source§impl Serialize for GetMenuResponse
impl Serialize for GetMenuResponse
impl StructuralPartialEq for GetMenuResponse
Auto Trait Implementations§
impl Freeze for GetMenuResponse
impl RefUnwindSafe for GetMenuResponse
impl Send for GetMenuResponse
impl Sync for GetMenuResponse
impl Unpin for GetMenuResponse
impl UnsafeUnpin for GetMenuResponse
impl UnwindSafe for GetMenuResponse
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