pub struct AnnotationDecimal {
pub coefficient: i64,
pub scale: u32,
}Fields§
§coefficient: i64§scale: u32Implementations§
Source§impl AnnotationDecimal
impl AnnotationDecimal
pub fn validate(&self) -> Result<(), CollaborationCodecError>
Trait Implementations§
Source§impl Clone for AnnotationDecimal
impl Clone for AnnotationDecimal
Source§impl Debug for AnnotationDecimal
impl Debug for AnnotationDecimal
Source§impl<'de> Deserialize<'de> for AnnotationDecimal
impl<'de> Deserialize<'de> for AnnotationDecimal
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 AnnotationDecimal
Source§impl PartialEq for AnnotationDecimal
impl PartialEq for AnnotationDecimal
Source§impl Serialize for AnnotationDecimal
impl Serialize for AnnotationDecimal
impl StructuralPartialEq for AnnotationDecimal
Auto Trait Implementations§
impl Freeze for AnnotationDecimal
impl RefUnwindSafe for AnnotationDecimal
impl Send for AnnotationDecimal
impl Sync for AnnotationDecimal
impl Unpin for AnnotationDecimal
impl UnsafeUnpin for AnnotationDecimal
impl UnwindSafe for AnnotationDecimal
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