#[non_exhaustive]pub struct GetLocationRequest {
pub name: String,
}Expand description
The request message for Locations.GetLocation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringResource name for the location.
Implementations§
Trait Implementations§
Source§impl Clone for GetLocationRequest
impl Clone for GetLocationRequest
Source§fn clone(&self) -> GetLocationRequest
fn clone(&self) -> GetLocationRequest
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 GetLocationRequest
impl Debug for GetLocationRequest
Source§impl Default for GetLocationRequest
impl Default for GetLocationRequest
Source§fn default() -> GetLocationRequest
fn default() -> GetLocationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetLocationRequestwhere
GetLocationRequest: Default,
impl<'de> Deserialize<'de> for GetLocationRequestwhere
GetLocationRequest: Default,
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 Message for GetLocationRequest
impl Message for GetLocationRequest
Source§impl PartialEq for GetLocationRequest
impl PartialEq for GetLocationRequest
Source§impl Serialize for GetLocationRequest
impl Serialize for GetLocationRequest
impl StructuralPartialEq for GetLocationRequest
Auto Trait Implementations§
impl Freeze for GetLocationRequest
impl RefUnwindSafe for GetLocationRequest
impl Send for GetLocationRequest
impl Sync for GetLocationRequest
impl Unpin for GetLocationRequest
impl UnwindSafe for GetLocationRequest
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