pub struct Links {
pub self_link: String,
pub next: Option<String>,
pub prev: Option<String>,
}
Expand description
Struct to represent links related to the response
Fields§
§self_link: String
§next: Option<String>
§prev: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Links
impl<'de> Deserialize<'de> for Links
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
Auto Trait Implementations§
impl Freeze for Links
impl RefUnwindSafe for Links
impl Send for Links
impl Sync for Links
impl Unpin for Links
impl UnwindSafe for Links
Blanket Implementations§
Source§impl<Data> ApiSuccessResponse for Data
impl<Data> ApiSuccessResponse for Data
fn api_success_response<Meta>( self, meta: Option<Meta>, ) -> ApiResponse<Self, Meta>
fn api_success_without_meta<Meta>(self) -> ApiResponse<Self, Meta>
fn api_success_with_meta<Meta>(self, meta: Meta) -> ApiResponse<Self, Meta>
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