pub enum EntityType {
Show 17 variants
Task3,
Task4,
Task6,
ChecklistItem,
ChecklistItem2,
ChecklistItem3,
Tag3,
Tag4,
Area2,
Area3,
Settings3,
Settings4,
Settings5,
Tombstone,
Tombstone2,
Command,
Unknown(String),
}Expand description
Entity type for wire field e.
Values are versioned by Things (for example Task6, Area3).
Variants§
Task3
Task entity (legacy version).
Task4
Task entity (legacy version).
Task6
Task/project/heading entity (current observed version).
ChecklistItem
Checklist item entity (legacy version).
ChecklistItem2
Checklist item entity (legacy version).
ChecklistItem3
Checklist item entity (current observed version).
Tag3
Tag entity (legacy version).
Tag4
Tag entity (current observed version).
Area2
Area entity (legacy version).
Area3
Area entity (current observed version).
Settings3
Settings entity.
Settings4
Settings5
Tombstone
Tombstone marker for deleted objects (legacy version).
Tombstone2
Tombstone marker for deleted objects.
Command
One-shot command entity.
Unknown(String)
Unknown entity name preserved for forward compatibility.
Trait Implementations§
Source§impl Clone for EntityType
impl Clone for EntityType
Source§fn clone(&self) -> EntityType
fn clone(&self) -> EntityType
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 EntityType
impl Debug for EntityType
Source§impl<'de> Deserialize<'de> for EntityType
impl<'de> Deserialize<'de> for EntityType
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 Display for EntityType
impl Display for EntityType
Source§impl From<&str> for EntityType
impl From<&str> for EntityType
Source§fn from(s: &str) -> EntityType
fn from(s: &str) -> EntityType
Converts to this type from the input type.
Source§impl From<EntityType> for String
impl From<EntityType> for String
Source§fn from(value: EntityType) -> Self
fn from(value: EntityType) -> Self
Converts to this type from the input type.
Source§impl From<String> for EntityType
impl From<String> for EntityType
Source§impl FromStr for EntityType
impl FromStr for EntityType
Source§impl PartialEq for EntityType
impl PartialEq for EntityType
Source§impl Serialize for EntityType
impl Serialize for EntityType
impl Eq for EntityType
impl StructuralPartialEq for EntityType
Auto Trait Implementations§
impl Freeze for EntityType
impl RefUnwindSafe for EntityType
impl Send for EntityType
impl Sync for EntityType
impl Unpin for EntityType
impl UnsafeUnpin for EntityType
impl UnwindSafe for EntityType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.