pub struct AnnotationSourceReference {
pub scope: CollaborationScope,
pub source: CollaborationSourceAnchor,
}Fields§
§scope: CollaborationScope§source: CollaborationSourceAnchorImplementations§
Source§impl AnnotationSourceReference
impl AnnotationSourceReference
pub fn validate(&self) -> Result<(), CollaborationCodecError>
Trait Implementations§
Source§impl Clone for AnnotationSourceReference
impl Clone for AnnotationSourceReference
Source§fn clone(&self) -> AnnotationSourceReference
fn clone(&self) -> AnnotationSourceReference
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 AnnotationSourceReference
impl Debug for AnnotationSourceReference
Source§impl<'de> Deserialize<'de> for AnnotationSourceReference
impl<'de> Deserialize<'de> for AnnotationSourceReference
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnnotationSourceReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnnotationSourceReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AnnotationSourceReference
Source§impl Serialize for AnnotationSourceReference
impl Serialize for AnnotationSourceReference
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 AnnotationSourceReference
Auto Trait Implementations§
impl Freeze for AnnotationSourceReference
impl RefUnwindSafe for AnnotationSourceReference
impl Send for AnnotationSourceReference
impl Sync for AnnotationSourceReference
impl Unpin for AnnotationSourceReference
impl UnsafeUnpin for AnnotationSourceReference
impl UnwindSafe for AnnotationSourceReference
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