pub struct GitHubProjectFieldOption {
pub id: String,
pub name: String,
pub color: String,
pub description: String,
}Fields§
§id: String§name: String§color: StringGitHub’s colour name for the option — what makes a board recognisable.
description: StringKept even when empty: updating the option list replaces the whole configuration, so omitting a description would erase one GitHub holds.
A column with no description is the ordinary case, and GitHub says so
with null — not with "" and not by leaving the field out. As a bare
String that failed to parse, so a board whose columns had no
descriptions could not be read at all: “a project column has no
description”, about every board anybody makes without typing one.
null is read as empty. ABSENT is not, and that difference is the
whole of it: a key GitHub did not send means this build never asked for
it, and reading that as "" writes an empty description back over one
that exists the next time the column list is updated. default used to
erase exactly that distinction.
Trait Implementations§
Source§impl Clone for GitHubProjectFieldOption
impl Clone for GitHubProjectFieldOption
Source§impl Debug for GitHubProjectFieldOption
impl Debug for GitHubProjectFieldOption
Source§impl<'de> Deserialize<'de> for GitHubProjectFieldOption
impl<'de> Deserialize<'de> for GitHubProjectFieldOption
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>,
impl Eq for GitHubProjectFieldOption
Source§impl PartialEq for GitHubProjectFieldOption
impl PartialEq for GitHubProjectFieldOption
Source§impl Serialize for GitHubProjectFieldOption
impl Serialize for GitHubProjectFieldOption
impl StructuralPartialEq for GitHubProjectFieldOption
Auto Trait Implementations§
impl Freeze for GitHubProjectFieldOption
impl RefUnwindSafe for GitHubProjectFieldOption
impl Send for GitHubProjectFieldOption
impl Sync for GitHubProjectFieldOption
impl Unpin for GitHubProjectFieldOption
impl UnsafeUnpin for GitHubProjectFieldOption
impl UnwindSafe for GitHubProjectFieldOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.