pub enum IntentKind {
RepositoryPath,
SameRepositoryGithub,
SameRepositoryGitlab,
SameRepositoryGitea,
ExternalUrl,
SiteRoute,
Unsupported,
}Expand description
The target-intent variants an occurrence can carry, in schema declaration order.
Variants§
RepositoryPath
SameRepositoryGithub
SameRepositoryGitlab
SameRepositoryGitea
ExternalUrl
SiteRoute
Unsupported
Implementations§
Trait Implementations§
Source§impl Clone for IntentKind
impl Clone for IntentKind
Source§fn clone(&self) -> IntentKind
fn clone(&self) -> IntentKind
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 moreimpl Copy for IntentKind
Source§impl Debug for IntentKind
impl Debug for IntentKind
impl Eq for IntentKind
Source§impl Ord for IntentKind
impl Ord for IntentKind
Source§fn cmp(&self, other: &IntentKind) -> Ordering
fn cmp(&self, other: &IntentKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IntentKind
impl PartialEq for IntentKind
Source§impl PartialOrd for IntentKind
impl PartialOrd for IntentKind
impl StructuralPartialEq for IntentKind
Auto Trait Implementations§
impl Freeze for IntentKind
impl RefUnwindSafe for IntentKind
impl Send for IntentKind
impl Sync for IntentKind
impl Unpin for IntentKind
impl UnsafeUnpin for IntentKind
impl UnwindSafe for IntentKind
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