#[non_exhaustive]pub struct GeoSpatialColumnGroupBuilder { /* private fields */ }Expand description
A builder for GeoSpatialColumnGroup.
Implementations§
source§impl GeoSpatialColumnGroupBuilder
impl GeoSpatialColumnGroupBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A display name for the hierarchy.
This field is required.sourcepub fn country_code(self, input: GeoSpatialCountryCode) -> Self
pub fn country_code(self, input: GeoSpatialCountryCode) -> Self
Country code.
sourcepub fn set_country_code(self, input: Option<GeoSpatialCountryCode>) -> Self
pub fn set_country_code(self, input: Option<GeoSpatialCountryCode>) -> Self
Country code.
sourcepub fn get_country_code(&self) -> &Option<GeoSpatialCountryCode>
pub fn get_country_code(&self) -> &Option<GeoSpatialCountryCode>
Country code.
sourcepub fn columns(self, input: impl Into<String>) -> Self
pub fn columns(self, input: impl Into<String>) -> Self
Appends an item to columns.
To override the contents of this collection use set_columns.
Columns in this hierarchy.
sourcepub fn set_columns(self, input: Option<Vec<String>>) -> Self
pub fn set_columns(self, input: Option<Vec<String>>) -> Self
Columns in this hierarchy.
sourcepub fn get_columns(&self) -> &Option<Vec<String>>
pub fn get_columns(&self) -> &Option<Vec<String>>
Columns in this hierarchy.
sourcepub fn build(self) -> Result<GeoSpatialColumnGroup, BuildError>
pub fn build(self) -> Result<GeoSpatialColumnGroup, BuildError>
Consumes the builder and constructs a GeoSpatialColumnGroup.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GeoSpatialColumnGroupBuilder
impl Clone for GeoSpatialColumnGroupBuilder
source§fn clone(&self) -> GeoSpatialColumnGroupBuilder
fn clone(&self) -> GeoSpatialColumnGroupBuilder
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 GeoSpatialColumnGroupBuilder
impl Debug for GeoSpatialColumnGroupBuilder
source§impl Default for GeoSpatialColumnGroupBuilder
impl Default for GeoSpatialColumnGroupBuilder
source§fn default() -> GeoSpatialColumnGroupBuilder
fn default() -> GeoSpatialColumnGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GeoSpatialColumnGroupBuilder
impl PartialEq for GeoSpatialColumnGroupBuilder
source§fn eq(&self, other: &GeoSpatialColumnGroupBuilder) -> bool
fn eq(&self, other: &GeoSpatialColumnGroupBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GeoSpatialColumnGroupBuilder
Auto Trait Implementations§
impl Freeze for GeoSpatialColumnGroupBuilder
impl RefUnwindSafe for GeoSpatialColumnGroupBuilder
impl Send for GeoSpatialColumnGroupBuilder
impl Sync for GeoSpatialColumnGroupBuilder
impl Unpin for GeoSpatialColumnGroupBuilder
impl UnwindSafe for GeoSpatialColumnGroupBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.