pub struct AuthoredCapture {
pub result: Capture,
pub author: SourceAuthor,
}Expand description
Authorship belongs to a human/device capture, not to derived integration results. Hosted integration/import retain their independent executor proof.
Fields§
§result: CaptureImplementations§
Source§impl AuthoredCapture
impl AuthoredCapture
pub fn local(result: Capture) -> AuthoredCapture
pub fn account( result: Capture, spool: Uuid, actor: CollaborationActor, authority: Vec<u8>, ) -> Result<AuthoredCapture, HeddleError>
Trait Implementations§
Source§impl Clone for AuthoredCapture
impl Clone for AuthoredCapture
Source§fn clone(&self) -> AuthoredCapture
fn clone(&self) -> AuthoredCapture
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 AuthoredCapture
impl Debug for AuthoredCapture
Source§impl<'de> Deserialize<'de> for AuthoredCapture
impl<'de> Deserialize<'de> for AuthoredCapture
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthoredCapture, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthoredCapture, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AuthoredCapture
Source§impl PartialEq for AuthoredCapture
impl PartialEq for AuthoredCapture
Source§impl Serialize for AuthoredCapture
impl Serialize for AuthoredCapture
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 AuthoredCapture
Auto Trait Implementations§
impl Freeze for AuthoredCapture
impl RefUnwindSafe for AuthoredCapture
impl Send for AuthoredCapture
impl Sync for AuthoredCapture
impl Unpin for AuthoredCapture
impl UnsafeUnpin for AuthoredCapture
impl UnwindSafe for AuthoredCapture
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