pub struct UserLocationBuilder(/* private fields */);Expand description
Builder for UserLocation.
Implementations§
Source§impl UserLocationBuilder
impl UserLocationBuilder
pub fn city(self, value: impl Into<String>) -> Self
pub fn country(self, value: impl Into<String>) -> Self
pub fn region(self, value: impl Into<String>) -> Self
pub fn timezone(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> UserLocation
pub fn build(self) -> UserLocation
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for UserLocationBuilder
impl RefUnwindSafe for UserLocationBuilder
impl Send for UserLocationBuilder
impl Sync for UserLocationBuilder
impl Unpin for UserLocationBuilder
impl UnsafeUnpin for UserLocationBuilder
impl UnwindSafe for UserLocationBuilder
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