pub struct FeedChange {
pub change_type: Option<ChangeType>,
pub feed: Option<Feed>,
pub feed_continuation_token: Option<i64>,
pub latest_package_continuation_token: Option<i64>,
}Expand description
A container that encapsulates the state of the feed after a create, update, or delete.
Fields§
§change_type: Option<ChangeType>The type of operation.
feed: Option<Feed>A container for artifacts.
feed_continuation_token: Option<i64>A token that identifies the next change in the log of changes.
latest_package_continuation_token: Option<i64>A token that identifies the latest package change for this feed. This can be used to quickly determine if there have been any changes to packages in a specific feed.
Implementations§
Source§impl FeedChange
impl FeedChange
Trait Implementations§
Source§impl Clone for FeedChange
impl Clone for FeedChange
Source§fn clone(&self) -> FeedChange
fn clone(&self) -> FeedChange
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 FeedChange
impl Debug for FeedChange
Source§impl Default for FeedChange
impl Default for FeedChange
Source§fn default() -> FeedChange
fn default() -> FeedChange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeedChange
impl<'de> Deserialize<'de> for FeedChange
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
Source§impl PartialEq for FeedChange
impl PartialEq for FeedChange
Source§impl Serialize for FeedChange
impl Serialize for FeedChange
impl StructuralPartialEq for FeedChange
Auto Trait Implementations§
impl Freeze for FeedChange
impl RefUnwindSafe for FeedChange
impl Send for FeedChange
impl Sync for FeedChange
impl Unpin for FeedChange
impl UnwindSafe for FeedChange
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