pub struct SearchResponse {
pub count: i32,
pub next: Option<String>,
pub results: Vec<Sound>,
pub previous: Option<String>,
}
Expand description
Response of a search query containing a list of sounds
Fields§
§count: i32
Total number of results
next: Option<String>
Link to next page of results (null if none)
results: Vec<Sound>
List of sound results
previous: Option<String>
Link to previous page of results (null if none)
Trait Implementations§
Source§impl Debug for SearchResponse
impl Debug for SearchResponse
Source§impl<'de> Deserialize<'de> for SearchResponse
impl<'de> Deserialize<'de> for SearchResponse
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 SearchResponse
impl RefUnwindSafe for SearchResponse
impl Send for SearchResponse
impl Sync for SearchResponse
impl Unpin for SearchResponse
impl UnwindSafe for SearchResponse
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