pub struct GetLocationsResponse {
pub status: Option<String>,
pub locations: Option<Vec<String>>,
}Expand description
Response body for Client::get_locations (wire method getLocations).
Fields§
§status: Option<String>§locations: Option<Vec<String>>Trait Implementations§
Source§impl Clone for GetLocationsResponse
impl Clone for GetLocationsResponse
Source§fn clone(&self) -> GetLocationsResponse
fn clone(&self) -> GetLocationsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetLocationsResponse
impl Debug for GetLocationsResponse
Source§impl Default for GetLocationsResponse
impl Default for GetLocationsResponse
Source§fn default() -> GetLocationsResponse
fn default() -> GetLocationsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetLocationsResponse
impl<'de> Deserialize<'de> for GetLocationsResponse
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 GetLocationsResponse
impl RefUnwindSafe for GetLocationsResponse
impl Send for GetLocationsResponse
impl Sync for GetLocationsResponse
impl Unpin for GetLocationsResponse
impl UnsafeUnpin for GetLocationsResponse
impl UnwindSafe for GetLocationsResponse
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