pub struct MaindataResponse {
pub rid: u64,
pub full_update: Option<bool>,
pub torrents: Option<MaindataTorrentsResponse>,
pub torrents_removed: Option<Vec<String>>,
pub categories: Option<CategoriesResponse>,
pub categories_removed: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub tags_removed: Option<Vec<String>>,
pub queueing: Option<bool>,
pub server_state: Option<ServerState>,
}
Expand description
§/api/v2/sync/maindata
Fields§
§rid: u64
§full_update: Option<bool>
§torrents: Option<MaindataTorrentsResponse>
§torrents_removed: Option<Vec<String>>
§categories: Option<CategoriesResponse>
§categories_removed: Option<Vec<String>>
§queueing: Option<bool>
§server_state: Option<ServerState>
Trait Implementations§
Source§impl Clone for MaindataResponse
impl Clone for MaindataResponse
Source§fn clone(&self) -> MaindataResponse
fn clone(&self) -> MaindataResponse
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 MaindataResponse
impl Debug for MaindataResponse
Source§impl<'de> Deserialize<'de> for MaindataResponse
impl<'de> Deserialize<'de> for MaindataResponse
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 MaindataResponse
impl RefUnwindSafe for MaindataResponse
impl Send for MaindataResponse
impl Sync for MaindataResponse
impl Unpin for MaindataResponse
impl UnwindSafe for MaindataResponse
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