pub struct ListIssueArgs {
pub state: Option<State>,
pub labels: Vec<String>,
pub assignee: Option<String>,
pub search: Option<String>,
pub limit: Option<u32>,
}Expand description
列出 Issue 的过滤参数。
所有字段均可选,未设置时使用平台默认值。
Fields§
§state: Option<State>按状态过滤。
labels: Vec<String>按标签名过滤。
assignee: Option<String>按指派用户过滤。
search: Option<String>关键字搜索条件。
limit: Option<u32>返回数量上限。
Trait Implementations§
Source§impl Clone for ListIssueArgs
impl Clone for ListIssueArgs
Source§fn clone(&self) -> ListIssueArgs
fn clone(&self) -> ListIssueArgs
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 moreSource§impl Debug for ListIssueArgs
impl Debug for ListIssueArgs
Source§impl Default for ListIssueArgs
impl Default for ListIssueArgs
Source§fn default() -> ListIssueArgs
fn default() -> ListIssueArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListIssueArgs
impl RefUnwindSafe for ListIssueArgs
impl Send for ListIssueArgs
impl Sync for ListIssueArgs
impl Unpin for ListIssueArgs
impl UnsafeUnpin for ListIssueArgs
impl UnwindSafe for ListIssueArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more