pub struct Approximation {
pub algorithm: ApproximationAlgorithm,
pub algorithm_version: u32,
pub precision: u32,
pub state_bytes: U64,
pub relative_standard_error: Option<ApproximateNumber>,
pub maximum_rank_error: Option<ApproximateNumber>,
}Fields§
§algorithm: ApproximationAlgorithm§algorithm_version: u32§precision: u32§state_bytes: U64§relative_standard_error: Option<ApproximateNumber>§maximum_rank_error: Option<ApproximateNumber>Trait Implementations§
Source§impl Clone for Approximation
impl Clone for Approximation
Source§impl Debug for Approximation
impl Debug for Approximation
Source§impl<'de> Deserialize<'de> for Approximation
impl<'de> Deserialize<'de> for Approximation
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 Approximation
impl PartialEq for Approximation
Source§impl Serialize for Approximation
impl Serialize for Approximation
impl StructuralPartialEq for Approximation
Auto Trait Implementations§
impl Freeze for Approximation
impl RefUnwindSafe for Approximation
impl Send for Approximation
impl Sync for Approximation
impl Unpin for Approximation
impl UnsafeUnpin for Approximation
impl UnwindSafe for Approximation
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