pub struct GetFeedSnapshotRequest {
pub limit: u32,
pub resolution_filter: Vec<i32>,
pub repo_paths: Vec<RepositoryRef>,
}Fields§
§limit: u32Max items to return (default 50). V1: capped at 50 with no pagination.
resolution_filter: Vec<i32>Filter by resolution status (default: PENDING only)
repo_paths: Vec<RepositoryRef>Optional repo filter
Implementations§
Source§impl GetFeedSnapshotRequest
impl GetFeedSnapshotRequest
Sourcepub fn resolution_filter(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<FeedItemResolution>> ⓘ
pub fn resolution_filter( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<FeedItemResolution>> ⓘ
Returns an iterator which yields the valid enum values contained in resolution_filter.
Sourcepub fn push_resolution_filter(&mut self, value: FeedItemResolution)
pub fn push_resolution_filter(&mut self, value: FeedItemResolution)
Appends the provided enum value to resolution_filter.
Trait Implementations§
Source§impl Clone for GetFeedSnapshotRequest
impl Clone for GetFeedSnapshotRequest
Source§fn clone(&self) -> GetFeedSnapshotRequest
fn clone(&self) -> GetFeedSnapshotRequest
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 GetFeedSnapshotRequest
impl Debug for GetFeedSnapshotRequest
Source§impl Default for GetFeedSnapshotRequest
impl Default for GetFeedSnapshotRequest
Source§impl Message for GetFeedSnapshotRequest
impl Message for GetFeedSnapshotRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for GetFeedSnapshotRequest
impl PartialEq for GetFeedSnapshotRequest
impl StructuralPartialEq for GetFeedSnapshotRequest
Auto Trait Implementations§
impl Freeze for GetFeedSnapshotRequest
impl RefUnwindSafe for GetFeedSnapshotRequest
impl Send for GetFeedSnapshotRequest
impl Sync for GetFeedSnapshotRequest
impl Unpin for GetFeedSnapshotRequest
impl UnsafeUnpin for GetFeedSnapshotRequest
impl UnwindSafe for GetFeedSnapshotRequest
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