pub struct Options {
pub shape_type: Option<String>,
pub dimensions: Option<String>,
pub max_field_length: Option<usize>,
}Expand description
Caller-tunable knobs. Every field is optional; the defaults suit most data.
Fields§
§shape_type: Option<String>Force a geometry family (point, multipoint, polyline, polygon)
instead of inferring it from the input.
dimensions: Option<String>Force the dimensionality (xy, xym, xyz, xyzm). Defaults to
whatever the coordinates actually carry.
max_field_length: Option<usize>Upper bound on character field width, 1-254.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Options
impl<'de> Deserialize<'de> for Options
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
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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