pub struct VersionSettings {
pub packages: Option<PackagesSettings>,
}
Expand description
Collection version settings. Unlike the payload settings, the version settings aren’t needed for the runtime and aren’t sent to the clients, however also affect the collection versioning.
Fields§
§packages: Option<PackagesSettings>
Packages settings object.
Trait Implementations§
Source§impl Clone for VersionSettings
impl Clone for VersionSettings
Source§fn clone(&self) -> VersionSettings
fn clone(&self) -> VersionSettings
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 VersionSettings
impl Debug for VersionSettings
Source§impl<'de> Deserialize<'de> for VersionSettings
impl<'de> Deserialize<'de> for VersionSettings
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 VersionSettings
impl PartialEq for VersionSettings
Source§impl Serialize for VersionSettings
impl Serialize for VersionSettings
impl StructuralPartialEq for VersionSettings
Auto Trait Implementations§
impl Freeze for VersionSettings
impl RefUnwindSafe for VersionSettings
impl Send for VersionSettings
impl Sync for VersionSettings
impl Unpin for VersionSettings
impl UnwindSafe for VersionSettings
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