[][src]Struct mygpoclient::subscription::UploadSubscriptionChangesResponse

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

Fields

timestamp: u64

timestamp/ID that can be used for requesting changes since this upload in a subsequent API call

update_urls: Vec<(Url, Url)>

list of URLs that have been rewritten as a list of tuples

The client SHOULD parse this list and update the local subscription 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.

Trait Implementations

impl Clone for UploadSubscriptionChangesResponse[src]

impl Debug for UploadSubscriptionChangesResponse[src]

impl Default for UploadSubscriptionChangesResponse[src]

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

impl Display for UploadSubscriptionChangesResponse[src]

impl Eq for UploadSubscriptionChangesResponse[src]

impl Hash for UploadSubscriptionChangesResponse[src]

impl Ord for UploadSubscriptionChangesResponse[src]

impl PartialEq<UploadSubscriptionChangesResponse> for UploadSubscriptionChangesResponse[src]

impl PartialOrd<UploadSubscriptionChangesResponse> for UploadSubscriptionChangesResponse[src]

impl Serialize for UploadSubscriptionChangesResponse[src]

impl StructuralEq for UploadSubscriptionChangesResponse[src]

impl StructuralPartialEq for UploadSubscriptionChangesResponse[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> ToString for T where
    T: Display + ?Sized
[src]

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.