pub struct IssueRef {
pub owner: String,
pub name: String,
pub number: u64,
}Expand description
One issue of one repository, as owner/name#N — exactly the spelling onevcs reports in a
landing event’s closes.
The owner and the name are compared ignoring case, as GitHub resolves them; the number is the issue’s own number on that repository.
Fields§
§owner: StringThe login of the repository’s owner.
name: StringThe repository’s name.
number: u64The issue’s number on that repository.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IssueRef
impl<'de> Deserialize<'de> for IssueRef
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IssueRef
Source§impl JsonSchema for IssueRef
impl JsonSchema for IssueRef
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for IssueRef
impl Freeze for IssueRef
impl Move for IssueRef
impl RefUnwindSafe for IssueRef
impl Send for IssueRefwhere
RawVecInner: Send,
impl Sync for IssueRefwhere
RawVecInner: Sync,
impl Unpin for IssueRef
impl UnsafeUnpin for IssueRef
impl UnwindSafe for IssueRefwhere
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