pub struct SourceRead {
pub id: String,
pub operation: String,
pub tracker: Option<String>,
pub item: Option<String>,
pub query: Option<String>,
pub comments: u32,
pub items: u32,
pub boards: bool,
}Expand description
A live read of an Operation’s trackers that Universal Exports asks the Headquarters Station for, because only it holds tracker tokens: one item with its latest comments, or the items the Operation’s sources find.
Fields§
§id: StringUniversal Exports’ identity for the read.
operation: StringThe Operation whose sources are read.
tracker: Option<String>The instance (sources.<name>); with no item, None lists every instance’s items.
item: Option<String>The item to read, as its instance names it (owner/repo#12, AI6-12); None lists.
query: Option<String>Only items whose title holds this text, ignoring case.
comments: u32The most comments to answer, the latest.
items: u32The most items to list.
boards: boolAsks for each instance’s board page instead of any item: boards of the answer, from
the providers’ own settings, with no request to a tracker.
Trait Implementations§
Source§impl Clone for SourceRead
impl Clone for SourceRead
Source§impl Debug for SourceRead
impl Debug for SourceRead
Source§impl<'de> Deserialize<'de> for SourceRead
impl<'de> Deserialize<'de> for SourceRead
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
impl Eq for SourceRead
Source§impl PartialEq for SourceRead
impl PartialEq for SourceRead
Source§impl Serialize for SourceRead
impl Serialize for SourceRead
impl StructuralPartialEq for SourceRead
Auto Trait Implementations§
impl Freeze for SourceRead
impl RefUnwindSafe for SourceRead
impl Send for SourceRead
impl Sync for SourceRead
impl Unpin for SourceRead
impl UnsafeUnpin for SourceRead
impl UnwindSafe for SourceRead
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