Struct git_cliff_core::remote::bitbucket::BitbucketPagination
source · pub struct BitbucketPagination<T> {
pub size: Option<i64>,
pub page: Option<i64>,
pub pagelen: Option<i64>,
pub next: Option<String>,
pub previous: Option<String>,
pub values: Vec<T>,
}Available on (crate features
github or gitlab or bitbucket) and crate feature bitbucket only.Expand description
Bitbucket Pagination Header
https://developer.atlassian.com/cloud/bitbucket/rest/intro/#pagination
Fields§
§size: Option<i64>Total number of objects in the response.
page: Option<i64>Page number of the current results.
pagelen: Option<i64>Current number of objects on the existing page. Globally, the minimum length is 10 and the maximum is 100.
next: Option<String>Link to the next page if it exists.
previous: Option<String>Link to the previous page if it exists.
values: Vec<T>List of Objects.
Trait Implementations§
source§impl<T: Clone> Clone for BitbucketPagination<T>
impl<T: Clone> Clone for BitbucketPagination<T>
source§fn clone(&self) -> BitbucketPagination<T>
fn clone(&self) -> BitbucketPagination<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<T: Debug> Debug for BitbucketPagination<T>
impl<T: Debug> Debug for BitbucketPagination<T>
source§impl<T: Default> Default for BitbucketPagination<T>
impl<T: Default> Default for BitbucketPagination<T>
source§fn default() -> BitbucketPagination<T>
fn default() -> BitbucketPagination<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for BitbucketPagination<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for BitbucketPagination<T>where
T: Deserialize<'de>,
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
source§impl<T: PartialEq> PartialEq for BitbucketPagination<T>
impl<T: PartialEq> PartialEq for BitbucketPagination<T>
source§fn eq(&self, other: &BitbucketPagination<T>) -> bool
fn eq(&self, other: &BitbucketPagination<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T> Serialize for BitbucketPagination<T>where
T: Serialize,
impl<T> Serialize for BitbucketPagination<T>where
T: Serialize,
impl<T> StructuralPartialEq for BitbucketPagination<T>
Auto Trait Implementations§
impl<T> Freeze for BitbucketPagination<T>
impl<T> RefUnwindSafe for BitbucketPagination<T>where
T: RefUnwindSafe,
impl<T> Send for BitbucketPagination<T>where
T: Send,
impl<T> Sync for BitbucketPagination<T>where
T: Sync,
impl<T> Unpin for BitbucketPagination<T>where
T: Unpin,
impl<T> UnwindSafe for BitbucketPagination<T>where
T: UnwindSafe,
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> 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