pub struct RollupPolicyV1 {
pub format_version: u16,
pub collection_index_ref: CollectionIndexRef,
pub policy_id: RollupPolicyIdV1,
pub policy_generation: PolicyGeneration,
pub detail_retirement_acknowledged: bool,
pub time_zone: RollupTimeZoneV1,
pub timestamp_field_digest: FieldPathDigestV1,
pub bucket_width_millis: u64,
pub bucket_alignment_millis: u64,
pub dimensions: Vec<FieldPathDigestV1>,
pub measures: Vec<RollupMeasureV1>,
}Fields§
§format_version: u16§collection_index_ref: CollectionIndexRef§policy_id: RollupPolicyIdV1§policy_generation: PolicyGeneration§detail_retirement_acknowledged: boolExplicit acknowledgement that incompatible detail queries will fail after this policy retires their raw coverage.
time_zone: RollupTimeZoneV1§timestamp_field_digest: FieldPathDigestV1§bucket_width_millis: u64§bucket_alignment_millis: u64§dimensions: Vec<FieldPathDigestV1>§measures: Vec<RollupMeasureV1>Implementations§
Source§impl RollupPolicyV1
impl RollupPolicyV1
pub fn validate(&self) -> Result<(), LifecycleContractError>
pub fn boundary_aligned(&self, value: u64) -> bool
Trait Implementations§
Source§impl Clone for RollupPolicyV1
impl Clone for RollupPolicyV1
Source§impl Debug for RollupPolicyV1
impl Debug for RollupPolicyV1
Source§impl<'de> Deserialize<'de> for RollupPolicyV1
impl<'de> Deserialize<'de> for RollupPolicyV1
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
impl Eq for RollupPolicyV1
Source§impl PartialEq for RollupPolicyV1
impl PartialEq for RollupPolicyV1
Source§impl Serialize for RollupPolicyV1
impl Serialize for RollupPolicyV1
impl StructuralPartialEq for RollupPolicyV1
Auto Trait Implementations§
impl Freeze for RollupPolicyV1
impl RefUnwindSafe for RollupPolicyV1
impl Send for RollupPolicyV1
impl Sync for RollupPolicyV1
impl Unpin for RollupPolicyV1
impl UnsafeUnpin for RollupPolicyV1
impl UnwindSafe for RollupPolicyV1
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