pub enum TaskCreator {
System,
Pulse,
User,
}Expand description
Who created the task.
Serialized in lowercase ("system", "pulse", "user"). The legacy
"entity" value written before 0.7.0 still deserializes as
TaskCreator::Pulse.
Variants§
System
Built into the runtime or contributed by a plugin.
Pulse
Created by the pulse itself at runtime.
User
Created by a human operator.
Trait Implementations§
Source§impl Clone for TaskCreator
impl Clone for TaskCreator
Source§impl Debug for TaskCreator
impl Debug for TaskCreator
Source§impl Default for TaskCreator
impl Default for TaskCreator
Source§impl<'de> Deserialize<'de> for TaskCreator
impl<'de> Deserialize<'de> for TaskCreator
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 TaskCreator
impl PartialEq for TaskCreator
Source§impl Serialize for TaskCreator
impl Serialize for TaskCreator
impl StructuralPartialEq for TaskCreator
Auto Trait Implementations§
impl Freeze for TaskCreator
impl RefUnwindSafe for TaskCreator
impl Send for TaskCreator
impl Sync for TaskCreator
impl Unpin for TaskCreator
impl UnsafeUnpin for TaskCreator
impl UnwindSafe for TaskCreator
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