pub struct ItemKey {
pub kind: ItemKind,
pub number: u64,
pub id: String,
}Expand description
Which item. number is GitHub’s number or GitLab’s iid; id carries a
provider’s own key (Jira key, Trello card id, Linear uuid) and is empty
where the number is enough.
Fields§
§kind: ItemKind§number: u64§id: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItemKey
impl<'de> Deserialize<'de> for ItemKey
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 ItemKey
impl StructuralPartialEq for ItemKey
Auto Trait Implementations§
impl Forget for ItemKey
impl Freeze for ItemKey
impl Move for ItemKey
impl RefUnwindSafe for ItemKey
impl Send for ItemKeywhere
RawVecInner: Send,
impl Sync for ItemKeywhere
RawVecInner: Sync,
impl Unpin for ItemKey
impl UnsafeUnpin for ItemKey
impl UnwindSafe for ItemKeywhere
RawVecInner: UnwindSafe,
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
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
Compare self to
key and return true if they are equal.