pub struct ProducedBy {
pub agent_id: String,
pub activity_id: Option<String>,
}Expand description
Who made the deed. activity_id is an optional assignment id
(a claimdag WorkId when that graph is the caller).
Fields§
§agent_id: String§activity_id: Option<String>Trait Implementations§
Source§impl Clone for ProducedBy
impl Clone for ProducedBy
Source§fn clone(&self) -> ProducedBy
fn clone(&self) -> ProducedBy
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 ProducedBy
impl Debug for ProducedBy
Source§impl<'de> Deserialize<'de> for ProducedBy
impl<'de> Deserialize<'de> for ProducedBy
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 ProducedBy
impl PartialEq for ProducedBy
Source§fn eq(&self, other: &ProducedBy) -> bool
fn eq(&self, other: &ProducedBy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProducedBy
impl Serialize for ProducedBy
impl Eq for ProducedBy
impl StructuralPartialEq for ProducedBy
Auto Trait Implementations§
impl Freeze for ProducedBy
impl RefUnwindSafe for ProducedBy
impl Send for ProducedBy
impl Sync for ProducedBy
impl Unpin for ProducedBy
impl UnsafeUnpin for ProducedBy
impl UnwindSafe for ProducedBy
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