pub enum AuthorKind {
Person,
Bot,
Unknown,
}Expand description
Who wrote a comment, as the source that holds it can tell: a person, a bot — an
integration, an app, an automation acting on its own — or neither, when the source cannot
say. Decided by the plugin, through
TaskSource::comment_author_kind.
Variants§
Person
A person.
Bot
A bot, an integration or an app.
Unknown
The source cannot say — no author at all, a deleted account.
Implementations§
Source§impl AuthorKind
impl AuthorKind
Trait Implementations§
Source§impl Clone for AuthorKind
impl Clone for AuthorKind
impl Copy for AuthorKind
Source§impl Debug for AuthorKind
impl Debug for AuthorKind
Source§impl<'de> Deserialize<'de> for AuthorKind
impl<'de> Deserialize<'de> for AuthorKind
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
impl Eq for AuthorKind
Source§impl Hash for AuthorKind
impl Hash for AuthorKind
Source§impl JsonSchema for AuthorKind
impl JsonSchema for AuthorKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AuthorKind
impl PartialEq for AuthorKind
Source§impl Serialize for AuthorKind
impl Serialize for AuthorKind
impl StructuralPartialEq for AuthorKind
Auto Trait Implementations§
impl Forget for AuthorKind
impl Freeze for AuthorKind
impl RefUnwindSafe for AuthorKind
impl Send for AuthorKind
impl Sync for AuthorKind
impl Unpin for AuthorKind
impl UnsafeUnpin for AuthorKind
impl UnwindSafe for AuthorKind
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