pub struct ListPrArgs {
pub state: Option<State>,
pub limit: Option<u32>,
}Expand description
列出 PR 的过滤参数。
所有字段均可选,未设置时使用平台默认值。
Fields§
§state: Option<State>按状态过滤。
limit: Option<u32>返回数量上限。
Trait Implementations§
Source§impl Clone for ListPrArgs
impl Clone for ListPrArgs
Source§impl Debug for ListPrArgs
impl Debug for ListPrArgs
Auto Trait Implementations§
impl Forget for ListPrArgs
impl Freeze for ListPrArgs
impl Move for ListPrArgs
impl RefUnwindSafe for ListPrArgs
impl Send for ListPrArgs
impl Sync for ListPrArgs
impl Unpin for ListPrArgs
impl UnsafeUnpin for ListPrArgs
impl UnwindSafe for ListPrArgs
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