pub struct PatchConfig {
pub meta: Metadata,
pub patches: Vec<PatchDefinition>,
}Fields§
§meta: Metadata§patches: Vec<PatchDefinition>Implementations§
Source§impl PatchConfig
impl PatchConfig
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for PatchConfig
impl Clone for PatchConfig
Source§fn clone(&self) -> PatchConfig
fn clone(&self) -> PatchConfig
Returns a duplicate 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 PatchConfig
impl Debug for PatchConfig
Source§impl Default for PatchConfig
impl Default for PatchConfig
Source§fn default() -> PatchConfig
fn default() -> PatchConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchConfig
impl<'de> Deserialize<'de> for PatchConfig
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
Auto Trait Implementations§
impl Freeze for PatchConfig
impl RefUnwindSafe for PatchConfig
impl Send for PatchConfig
impl Sync for PatchConfig
impl Unpin for PatchConfig
impl UnsafeUnpin for PatchConfig
impl UnwindSafe for PatchConfig
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