Enum attackerkb_api_rs::pagination::KBResponse
source · pub enum KBResponse {
Topics(ListResponse<Topic>),
Topic(SingleResponse<Topic>),
Assessments(ListResponse<Assessment>),
Assessment(SingleResponse<Assessment>),
Contributors(ListResponse<Contributor>),
Contributor(SingleResponse<Contributor>),
Error(ErrorResponse),
}
Expand description
The API returns seven primary objects in the body of the response: KBResponse
Variants§
Topics(ListResponse<Topic>)
Topic(SingleResponse<Topic>)
Assessments(ListResponse<Assessment>)
Assessment(SingleResponse<Assessment>)
Contributors(ListResponse<Contributor>)
Contributor(SingleResponse<Contributor>)
Error(ErrorResponse)
Trait Implementations§
source§impl Clone for KBResponse
impl Clone for KBResponse
source§fn clone(&self) -> KBResponse
fn clone(&self) -> KBResponse
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 Debug for KBResponse
impl Debug for KBResponse
source§impl<'de> Deserialize<'de> for KBResponse
impl<'de> Deserialize<'de> for KBResponse
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 PartialEq for KBResponse
impl PartialEq for KBResponse
source§fn eq(&self, other: &KBResponse) -> bool
fn eq(&self, other: &KBResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KBResponse
impl Serialize for KBResponse
impl StructuralPartialEq for KBResponse
Auto Trait Implementations§
impl RefUnwindSafe for KBResponse
impl Send for KBResponse
impl Sync for KBResponse
impl Unpin for KBResponse
impl UnwindSafe for KBResponse
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