pub struct HypertableCompression {
pub enabled: bool,
pub segment_by_columns: Option<Vec<String>>,
pub order_by_columns: Option<Vec<HypertableCompressionOrderedColumn>>,
pub chunk_time_interval: Option<Interval>,
pub compression_schedule_interval: Option<Interval>,
pub compress_after: Option<Interval>,
}Fields§
§enabled: bool§segment_by_columns: Option<Vec<String>>§order_by_columns: Option<Vec<HypertableCompressionOrderedColumn>>§chunk_time_interval: Option<Interval>§compression_schedule_interval: Option<Interval>§compress_after: Option<Interval>Implementations§
Source§impl HypertableCompression
impl HypertableCompression
pub fn add_compression_settings( &self, sql: &mut String, escaped_relation_name: &str, identifier_quoter: &IdentifierQuoter, )
Trait Implementations§
Source§impl Clone for HypertableCompression
impl Clone for HypertableCompression
Source§fn clone(&self) -> HypertableCompression
fn clone(&self) -> HypertableCompression
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 HypertableCompression
impl Debug for HypertableCompression
Source§impl Default for HypertableCompression
impl Default for HypertableCompression
Source§fn default() -> HypertableCompression
fn default() -> HypertableCompression
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HypertableCompression
impl<'de> Deserialize<'de> for HypertableCompression
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 PartialEq for HypertableCompression
impl PartialEq for HypertableCompression
Source§impl Serialize for HypertableCompression
impl Serialize for HypertableCompression
impl Eq for HypertableCompression
impl StructuralPartialEq for HypertableCompression
Auto Trait Implementations§
impl Freeze for HypertableCompression
impl RefUnwindSafe for HypertableCompression
impl Send for HypertableCompression
impl Sync for HypertableCompression
impl Unpin for HypertableCompression
impl UnwindSafe for HypertableCompression
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more