pub struct CostDollarsContents {
pub text: Option<f64>,
pub highlights: Option<f64>,
pub summary: Option<f64>,
}Expand description
Represents the cost breakdown related to contents retrieval. Fields are optional because only non-zero costs are included by the API.
Fields§
§text: Option<f64>The cost in dollars for retrieving text.
highlights: Option<f64>The cost in dollars for retrieving highlights.
summary: Option<f64>The cost in dollars for retrieving summary.
Trait Implementations§
Source§impl Clone for CostDollarsContents
impl Clone for CostDollarsContents
Source§fn clone(&self) -> CostDollarsContents
fn clone(&self) -> CostDollarsContents
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 CostDollarsContents
impl Debug for CostDollarsContents
Source§impl Default for CostDollarsContents
impl Default for CostDollarsContents
Source§fn default() -> CostDollarsContents
fn default() -> CostDollarsContents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CostDollarsContents
impl<'de> Deserialize<'de> for CostDollarsContents
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 CostDollarsContents
impl RefUnwindSafe for CostDollarsContents
impl Send for CostDollarsContents
impl Sync for CostDollarsContents
impl Unpin for CostDollarsContents
impl UnsafeUnpin for CostDollarsContents
impl UnwindSafe for CostDollarsContents
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