pub struct SplitPoints {
pub expire_time: Option<DateTime<Utc>>,
pub index: Option<String>,
pub keys: Option<Vec<Key>>,
pub table: Option<String>,
}Expand description
The split points of a table or an index.
This type is not used in any activity, and only used as part of another schema.
Fields§
§expire_time: Option<DateTime<Utc>>Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.
index: Option<String>The index to split. If specified, the table field must refer to the index’s base table.
keys: Option<Vec<Key>>Required. The list of split keys. In essence, the split boundaries.
table: Option<String>The table to split.
Trait Implementations§
Source§impl Clone for SplitPoints
impl Clone for SplitPoints
Source§fn clone(&self) -> SplitPoints
fn clone(&self) -> SplitPoints
Returns a duplicate 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 SplitPoints
impl Debug for SplitPoints
Source§impl Default for SplitPoints
impl Default for SplitPoints
Source§fn default() -> SplitPoints
fn default() -> SplitPoints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SplitPoints
impl<'de> Deserialize<'de> for SplitPoints
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
Source§impl Serialize for SplitPoints
impl Serialize for SplitPoints
impl Part for SplitPoints
Auto Trait Implementations§
impl Freeze for SplitPoints
impl RefUnwindSafe for SplitPoints
impl Send for SplitPoints
impl Sync for SplitPoints
impl Unpin for SplitPoints
impl UnwindSafe for SplitPoints
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