#[non_exhaustive]pub struct BillingEstimation {
pub structured_data_size: i64,
pub unstructured_data_size: i64,
pub website_data_size: i64,
pub structured_data_update_time: Option<Timestamp>,
pub unstructured_data_update_time: Option<Timestamp>,
pub website_data_update_time: Option<Timestamp>,
/* private fields */
}Available on crate feature
data-store-service only.Expand description
Estimation of data size per data store.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.structured_data_size: i64Data size for structured data in terms of bytes.
unstructured_data_size: i64Data size for unstructured data in terms of bytes.
website_data_size: i64Data size for websites in terms of bytes.
structured_data_update_time: Option<Timestamp>Last updated timestamp for structured data.
unstructured_data_update_time: Option<Timestamp>Last updated timestamp for unstructured data.
website_data_update_time: Option<Timestamp>Last updated timestamp for websites.
Implementations§
Source§impl BillingEstimation
impl BillingEstimation
pub fn new() -> Self
Sourcepub fn set_structured_data_size<T: Into<i64>>(self, v: T) -> Self
pub fn set_structured_data_size<T: Into<i64>>(self, v: T) -> Self
Sets the value of structured_data_size.
§Example
ⓘ
let x = BillingEstimation::new().set_structured_data_size(42);Sourcepub fn set_unstructured_data_size<T: Into<i64>>(self, v: T) -> Self
pub fn set_unstructured_data_size<T: Into<i64>>(self, v: T) -> Self
Sets the value of unstructured_data_size.
§Example
ⓘ
let x = BillingEstimation::new().set_unstructured_data_size(42);Sourcepub fn set_website_data_size<T: Into<i64>>(self, v: T) -> Self
pub fn set_website_data_size<T: Into<i64>>(self, v: T) -> Self
Sets the value of website_data_size.
§Example
ⓘ
let x = BillingEstimation::new().set_website_data_size(42);Sourcepub fn set_structured_data_update_time<T>(self, v: T) -> Self
pub fn set_structured_data_update_time<T>(self, v: T) -> Self
Sets the value of structured_data_update_time.
§Example
ⓘ
use wkt::Timestamp;
let x = BillingEstimation::new().set_structured_data_update_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_structured_data_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_structured_data_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of structured_data_update_time.
§Example
ⓘ
use wkt::Timestamp;
let x = BillingEstimation::new().set_or_clear_structured_data_update_time(Some(Timestamp::default()/* use setters */));
let x = BillingEstimation::new().set_or_clear_structured_data_update_time(None::<Timestamp>);Sourcepub fn set_unstructured_data_update_time<T>(self, v: T) -> Self
pub fn set_unstructured_data_update_time<T>(self, v: T) -> Self
Sets the value of unstructured_data_update_time.
§Example
ⓘ
use wkt::Timestamp;
let x = BillingEstimation::new().set_unstructured_data_update_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_unstructured_data_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_unstructured_data_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of unstructured_data_update_time.
§Example
ⓘ
use wkt::Timestamp;
let x = BillingEstimation::new().set_or_clear_unstructured_data_update_time(Some(Timestamp::default()/* use setters */));
let x = BillingEstimation::new().set_or_clear_unstructured_data_update_time(None::<Timestamp>);Sourcepub fn set_website_data_update_time<T>(self, v: T) -> Self
pub fn set_website_data_update_time<T>(self, v: T) -> Self
Sets the value of website_data_update_time.
§Example
ⓘ
use wkt::Timestamp;
let x = BillingEstimation::new().set_website_data_update_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_website_data_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_website_data_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of website_data_update_time.
§Example
ⓘ
use wkt::Timestamp;
let x = BillingEstimation::new().set_or_clear_website_data_update_time(Some(Timestamp::default()/* use setters */));
let x = BillingEstimation::new().set_or_clear_website_data_update_time(None::<Timestamp>);Trait Implementations§
Source§impl Clone for BillingEstimation
impl Clone for BillingEstimation
Source§fn clone(&self) -> BillingEstimation
fn clone(&self) -> BillingEstimation
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 BillingEstimation
impl Debug for BillingEstimation
Source§impl Default for BillingEstimation
impl Default for BillingEstimation
Source§fn default() -> BillingEstimation
fn default() -> BillingEstimation
Returns the “default value” for a type. Read more
Source§impl Message for BillingEstimation
impl Message for BillingEstimation
Source§impl PartialEq for BillingEstimation
impl PartialEq for BillingEstimation
impl StructuralPartialEq for BillingEstimation
Auto Trait Implementations§
impl Freeze for BillingEstimation
impl RefUnwindSafe for BillingEstimation
impl Send for BillingEstimation
impl Sync for BillingEstimation
impl Unpin for BillingEstimation
impl UnwindSafe for BillingEstimation
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