#[non_exhaustive]pub struct CollectionUpdateReason {
pub reason_type: CollectionUpdateReasonType,
pub comment: Option<String>,
}Expand description
Why a collection version was published.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reason_type: CollectionUpdateReasonTypeUpdate classification.
comment: Option<String>Free-text comment. Clients must not interpret this programmatically.
Trait Implementations§
Source§impl Clone for CollectionUpdateReason
impl Clone for CollectionUpdateReason
Source§impl Debug for CollectionUpdateReason
impl Debug for CollectionUpdateReason
Source§impl<'de> Deserialize<'de> for CollectionUpdateReason
impl<'de> Deserialize<'de> for CollectionUpdateReason
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
impl Eq for CollectionUpdateReason
Source§impl PartialEq for CollectionUpdateReason
impl PartialEq for CollectionUpdateReason
Source§impl Serialize for CollectionUpdateReason
impl Serialize for CollectionUpdateReason
impl StructuralPartialEq for CollectionUpdateReason
Auto Trait Implementations§
impl Forget for CollectionUpdateReason
impl Freeze for CollectionUpdateReason
impl Move for CollectionUpdateReason
impl RefUnwindSafe for CollectionUpdateReason
impl Send for CollectionUpdateReason
impl Sync for CollectionUpdateReason
impl Unpin for CollectionUpdateReason
impl UnsafeUnpin for CollectionUpdateReason
impl UnwindSafe for CollectionUpdateReason
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