pub enum Record {
ProjectBoard {
board: String,
number: i64,
title: String,
owner: String,
url: String,
closed: bool,
},
ProjectField {
board: String,
field: String,
name: String,
kind: String,
options: Vec<ProjectOption>,
},
ProjectItem {
board: String,
item: String,
kind: String,
title: String,
url: Option<String>,
repository: Option<String>,
number: Option<i64>,
state: Option<String>,
archived: bool,
body: String,
fields: Vec<ProjectValue>,
},
ProjectItemRemoved {
board: String,
item: String,
},
BoardReference {
project: String,
board: String,
},
Issue {
repo: String,
number: i64,
title: String,
state: String,
url: String,
updated_at: String,
},
SyncScope {
scope: String,
outcome: String,
error: Option<String>,
},
SyncProblem {
problem: String,
},
SyncSummary {
changed: usize,
unchanged: usize,
failed: usize,
no_token: bool,
problems: usize,
},
Status {
mirror: String,
token: Option<String>,
scopes: usize,
failing: usize,
never_synced: usize,
},
Message {
level: String,
text: String,
},
Failure {
message: String,
},
}Variants§
ProjectBoard
One Projects board. board is its node id, which every later call
may name it by; number is what a person calls it.
ProjectField
One field of a board, with the options of a single-select.
ProjectItem
One card, as GitHub last returned it. fields is by field NAME, in
the board’s field order, and carries only what the card has a value
for.
Fields
§
fields: Vec<ProjectValue>ProjectItemRemoved
A card was taken off a board.
BoardReference
A board one project references.
Issue
One issue, as the mirror holds it.
SyncScope
What a sync did with one scope.
SyncProblem
Something about what to mirror that could not be found out.
SyncSummary
One whole sync.
Status
Where the token and the mirror are.
Message
Something said that is not data.
Failure
Why the command did not do what was asked.
Trait Implementations§
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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