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