pub struct NumberDeltaErr {
pub num: u32,
pub delta: u32,
}
Expand description
Represents a type carrying a result and a delta error. This is the case when querying the number of resources such as releases, pipelines, etc… available. REST APIs don’t carry a count, so that is computed by the total number of pages available (last page in link header) and the number of resources per page.
Fields§
§num: u32
Possible number of resources = num_pages * resources_per_page
delta: u32
Resources per_page
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NumberDeltaErr
impl RefUnwindSafe for NumberDeltaErr
impl Send for NumberDeltaErr
impl Sync for NumberDeltaErr
impl Unpin for NumberDeltaErr
impl UnwindSafe for NumberDeltaErr
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