[][src]Struct mygpoclient::episode::UploadEpisodeActionsResponse

pub struct UploadEpisodeActionsResponse {
    pub timestamp: u64,
    pub update_urls: Vec<(Url, Url)>,
}

Fields

timestamp: u64

the current timestamp; for retrieving changes since the last query

update_urls: Vec<(Url, Url)>

list of URLs that have been rewritten (sanitized, see bug:747 and bug:862) as a list of tuples. The client SHOULD parse this list and update the local subscription and episode list accordingly (the server only sanitizes the URL, so the semantic “content” should stay the same and therefore the client can simply update the URL value locally and use it for future updates.

URLs that are not allowed (currently all URLs that contain non-ASCII characters or don’t start with either http or https) are rewritten to the empty string and are ignored by the Webservice.

Trait Implementations

impl Clone for UploadEpisodeActionsResponse[src]

impl Debug for UploadEpisodeActionsResponse[src]

impl Default for UploadEpisodeActionsResponse[src]

impl<'de> Deserialize<'de> for UploadEpisodeActionsResponse[src]

impl Eq for UploadEpisodeActionsResponse[src]

impl Hash for UploadEpisodeActionsResponse[src]

impl Ord for UploadEpisodeActionsResponse[src]

impl PartialEq<UploadEpisodeActionsResponse> for UploadEpisodeActionsResponse[src]

impl PartialOrd<UploadEpisodeActionsResponse> for UploadEpisodeActionsResponse[src]

impl Serialize for UploadEpisodeActionsResponse[src]

impl StructuralEq for UploadEpisodeActionsResponse[src]

impl StructuralPartialEq for UploadEpisodeActionsResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.