pub struct TrackerLink {
pub from: String,
pub to: Option<String>,
pub relation: String,
pub url: Option<String>,
}Expand description
A link between two issues.
Fields§
§from: StringThe issue in this tracker the link is made on.
to: Option<String>The other issue, by ID in this tracker, when it lives here.
relation: StringThe link’s meaning: related, child, parent or mirror.
url: Option<String>The other issue’s URL, when it lives in another tracker (a remote link).
Trait Implementations§
Source§impl Clone for TrackerLink
impl Clone for TrackerLink
Source§impl Debug for TrackerLink
impl Debug for TrackerLink
Source§impl Default for TrackerLink
impl Default for TrackerLink
impl Eq for TrackerLink
Source§impl FromValue for TrackerLink
impl FromValue for TrackerLink
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for TrackerLink
impl FromWalk for TrackerLink
Source§impl MapRead for TrackerLink
impl MapRead for TrackerLink
Source§impl PartialEq for TrackerLink
impl PartialEq for TrackerLink
Source§impl Schema for TrackerLink
impl Schema for TrackerLink
impl StructuralPartialEq for TrackerLink
Source§impl ToValue for TrackerLink
impl ToValue for TrackerLink
Auto Trait Implementations§
impl Freeze for TrackerLink
impl RefUnwindSafe for TrackerLink
impl Send for TrackerLink
impl Sync for TrackerLink
impl Unpin for TrackerLink
impl UnsafeUnpin for TrackerLink
impl UnwindSafe for TrackerLink
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