pub struct BindPatch {
pub target: Option<String>,
pub from: Option<FromContextPatch>,
pub source: Option<Option<String>>,
pub readwrite: Option<Option<bool>>,
}
Fields§
§target: Option<String>
§from: Option<FromContextPatch>
§source: Option<Option<String>>
§readwrite: Option<Option<bool>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BindPatch
impl<'de> Deserialize<'de> for BindPatch
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 Patch<BindPatch> for Bind
impl Patch<BindPatch> for Bind
Source§fn into_patch(self) -> BindPatch
fn into_patch(self) -> BindPatch
Returns a patch that when applied turns any struct of the same type into
Self
Source§fn into_patch_by_diff(self, previous_struct: Self) -> BindPatch
fn into_patch_by_diff(self, previous_struct: Self) -> BindPatch
Returns a patch that when applied turns
previous_struct
into Self
Source§fn new_empty_patch() -> BindPatch
fn new_empty_patch() -> BindPatch
Get an empty patch instance
impl StructuralPartialEq for BindPatch
Auto Trait Implementations§
impl Freeze for BindPatch
impl RefUnwindSafe for BindPatch
impl Send for BindPatch
impl Sync for BindPatch
impl Unpin for BindPatch
impl UnwindSafe for BindPatch
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