pub struct MappedStatusName { /* private fields */ }Expand description
One name a status_mapping gives one kind, and whether that kind’s vocabulary has it.
Implementations§
Source§impl MappedStatusName
impl MappedStatusName
Sourcepub fn kind(&self) -> ItemKind
pub fn kind(&self) -> ItemKind
Whether the name is a task’s workflow state or a project’s project status.
Sourcepub fn category(&self) -> StatusCategory
pub fn category(&self) -> StatusCategory
The category the mapping sends to the name.
Sourcepub fn expected_type(&self) -> &'static str
pub fn expected_type(&self) -> &'static str
The type a name of this category is created as — what a present name of another type differs from.
Trait Implementations§
Source§impl Clone for MappedStatusName
impl Clone for MappedStatusName
Source§impl Debug for MappedStatusName
impl Debug for MappedStatusName
Source§impl JsonSchema for MappedStatusName
impl JsonSchema for MappedStatusName
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 MappedStatusName
impl PartialEq for MappedStatusName
Source§impl Serialize for MappedStatusName
impl Serialize for MappedStatusName
impl StructuralPartialEq for MappedStatusName
Auto Trait Implementations§
impl Freeze for MappedStatusName
impl RefUnwindSafe for MappedStatusName
impl Send for MappedStatusName
impl Sync for MappedStatusName
impl Unpin for MappedStatusName
impl UnsafeUnpin for MappedStatusName
impl UnwindSafe for MappedStatusName
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