pub enum AssetContextKind {
Issue,
IssueComment,
MergeRequest,
MrComment,
Chat,
KbPage,
}Expand description
Category of an AssetContext — used for capability lookup.
Variants§
Issue
Issue body / description.
IssueComment
MergeRequest
Merge request / pull request body.
MrComment
Comment / note on a merge request.
Chat
Messenger chat message.
KbPage
Knowledge base page.
Trait Implementations§
Source§impl Clone for AssetContextKind
impl Clone for AssetContextKind
Source§fn clone(&self) -> AssetContextKind
fn clone(&self) -> AssetContextKind
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 AssetContextKind
impl Debug for AssetContextKind
Source§impl<'de> Deserialize<'de> for AssetContextKind
impl<'de> Deserialize<'de> for AssetContextKind
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 Hash for AssetContextKind
impl Hash for AssetContextKind
Source§impl PartialEq for AssetContextKind
impl PartialEq for AssetContextKind
Source§fn eq(&self, other: &AssetContextKind) -> bool
fn eq(&self, other: &AssetContextKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AssetContextKind
impl Serialize for AssetContextKind
impl Copy for AssetContextKind
impl Eq for AssetContextKind
impl StructuralPartialEq for AssetContextKind
Auto Trait Implementations§
impl Freeze for AssetContextKind
impl RefUnwindSafe for AssetContextKind
impl Send for AssetContextKind
impl Sync for AssetContextKind
impl Unpin for AssetContextKind
impl UnsafeUnpin for AssetContextKind
impl UnwindSafe for AssetContextKind
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,
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.