pub struct ActivityType {
pub name: String,
pub version: String,
}
Expand description
Represents an activity type.
Fields§
§name: String
The name of this activity.
The combination of activity type name and version must be unique within a domain.
version: String
The version of this activity.
The combination of activity type name and version must be unique with in a domain.
Trait Implementations§
Source§impl Clone for ActivityType
impl Clone for ActivityType
Source§fn clone(&self) -> ActivityType
fn clone(&self) -> ActivityType
Returns a duplicate of the value. Read more
1.0.0 · 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 ActivityType
impl Debug for ActivityType
Source§impl Default for ActivityType
impl Default for ActivityType
Source§fn default() -> ActivityType
fn default() -> ActivityType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityType
impl<'de> Deserialize<'de> for ActivityType
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 ActivityType
impl PartialEq for ActivityType
Source§impl Serialize for ActivityType
impl Serialize for ActivityType
impl StructuralPartialEq for ActivityType
Auto Trait Implementations§
impl Freeze for ActivityType
impl RefUnwindSafe for ActivityType
impl Send for ActivityType
impl Sync for ActivityType
impl Unpin for ActivityType
impl UnwindSafe for ActivityType
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