pub struct StatusOption {
pub id: StatusOptionId,
pub name: ColumnName,
pub color: StatusOptionColor,
pub description: String,
}Expand description
One existing or proposed option in a guarded Status-field update.
Fields§
§id: StatusOptionIdGitHub’s stable id.
name: ColumnNameThe visible option name.
color: StatusOptionColorGitHub’s single-select color token.
description: StringThe option description, including an empty one.
Trait Implementations§
Source§impl Clone for StatusOption
impl Clone for StatusOption
Source§fn clone(&self) -> StatusOption
fn clone(&self) -> StatusOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatusOption
impl Debug for StatusOption
impl Eq for StatusOption
Source§impl JsonSchema for StatusOption
impl JsonSchema for StatusOption
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 StatusOption
impl PartialEq for StatusOption
Source§impl Serialize for StatusOption
impl Serialize for StatusOption
impl StructuralPartialEq for StatusOption
Auto Trait Implementations§
impl Freeze for StatusOption
impl RefUnwindSafe for StatusOption
impl Send for StatusOption
impl Sync for StatusOption
impl Unpin for StatusOption
impl UnsafeUnpin for StatusOption
impl UnwindSafe for StatusOption
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