pub struct StatusName(/* private fields */);Expand description
One status name a source’s backend holds: a board option, a workflow state, a project status.
Validated on the way in, so a blank name — which nothing in any backend can be called — is a name this type cannot hold. Compared case-insensitively wherever a source matches it, because every backend this product reads matches its own names that way.
Implementations§
Trait Implementations§
Source§impl Clone for StatusName
impl Clone for StatusName
Source§impl Debug for StatusName
impl Debug for StatusName
Source§impl<'de> Deserialize<'de> for StatusName
impl<'de> Deserialize<'de> for StatusName
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 StatusName
impl Display for StatusName
impl Eq for StatusName
Source§impl From<StatusName> for String
impl From<StatusName> for String
Source§fn from(name: StatusName) -> Self
fn from(name: StatusName) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for StatusName
impl JsonSchema for StatusName
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &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 StatusName
impl PartialEq for StatusName
Source§impl Serialize for StatusName
impl Serialize for StatusName
impl StructuralPartialEq for StatusName
Auto Trait Implementations§
impl Freeze for StatusName
impl RefUnwindSafe for StatusName
impl Send for StatusName
impl Sync for StatusName
impl Unpin for StatusName
impl UnsafeUnpin for StatusName
impl UnwindSafe for StatusName
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