pub struct ReportPageLimits {
pub report_hosts: u32,
pub version_check_results: u32,
pub discovery_results: u32,
pub batch_update_results: u32,
}Expand description
Per-page item-count limits for paginated report payloads.
Fields§
§report_hosts: u32Maximum hosts items per report_hosts page.
version_check_results: u32Maximum results items per version_check_results page.
discovery_results: u32Maximum results items per discovery_results page.
batch_update_results: u32Maximum results items per batch_update_result page.
Implementations§
Source§impl ReportPageLimits
impl ReportPageLimits
Sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Returns true when all fields match the default wire limits.
Trait Implementations§
Source§impl Clone for ReportPageLimits
impl Clone for ReportPageLimits
Source§fn clone(&self) -> ReportPageLimits
fn clone(&self) -> ReportPageLimits
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 ReportPageLimits
impl Debug for ReportPageLimits
Source§impl Default for ReportPageLimits
impl Default for ReportPageLimits
Source§impl<'de> Deserialize<'de> for ReportPageLimits
impl<'de> Deserialize<'de> for ReportPageLimits
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
impl Eq for ReportPageLimits
Source§impl PartialEq for ReportPageLimits
impl PartialEq for ReportPageLimits
Source§impl Serialize for ReportPageLimits
impl Serialize for ReportPageLimits
impl StructuralPartialEq for ReportPageLimits
Source§impl WireValidate for ReportPageLimits
impl WireValidate for ReportPageLimits
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Validate that all fields are within wire protocol size limits.
Auto Trait Implementations§
impl Freeze for ReportPageLimits
impl RefUnwindSafe for ReportPageLimits
impl Send for ReportPageLimits
impl Sync for ReportPageLimits
impl Unpin for ReportPageLimits
impl UnsafeUnpin for ReportPageLimits
impl UnwindSafe for ReportPageLimits
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.