pub struct UserLocation {
pub city: Option<Option<String>>,
pub country: Option<Option<String>>,
pub region: Option<Option<String>>,
pub timezone: Option<Option<String>>,
pub type_: Option<UserLocationType>,
pub rest: Rest,
}Fields§
§city: Option<Option<String>>§country: Option<Option<String>>§region: Option<Option<String>>§timezone: Option<Option<String>>§type_: Option<UserLocationType>§rest: RestImplementations§
Source§impl UserLocation
impl UserLocation
Sourcepub fn builder() -> UserLocationBuilder
pub fn builder() -> UserLocationBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for UserLocation
impl Clone for UserLocation
Source§impl Debug for UserLocation
impl Debug for UserLocation
Source§impl DeclaredFields for UserLocation
impl DeclaredFields for UserLocation
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for UserLocation
impl<'de> Deserialize<'de> for UserLocation
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
impl Eq for UserLocation
Source§impl PartialEq for UserLocation
impl PartialEq for UserLocation
Source§impl Serialize for UserLocation
impl Serialize for UserLocation
impl StructuralPartialEq for UserLocation
Auto Trait Implementations§
impl Freeze for UserLocation
impl RefUnwindSafe for UserLocation
impl Send for UserLocation
impl Sync for UserLocation
impl Unpin for UserLocation
impl UnsafeUnpin for UserLocation
impl UnwindSafe for UserLocation
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