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§fn clone(&self) -> AnnotationDecimal
fn clone(&self) -> AnnotationDecimal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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<AnnotationDecimal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnnotationDecimal, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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