[−][src]Struct serde_diff::Apply
A deserializable structure that will apply a sequence of diff commands to the target
Methods
impl<'a, 'de, T: SerdeDiff> Apply<'a, T>
[src][−]
pub fn deserializable(target: &'a mut T) -> Self
[src][−]
Create a deserializable apply, where the given target will be changed when the resulting Apply struct is deserialized
pub fn apply<D>(
deserializer: D,
target: &mut T
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src][−]
deserializer: D,
target: &mut T
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Applies a sequence of diff commands to the target, as read by the deserializer
Trait Implementations
impl<'a, 'de, T: SerdeDiff> DeserializeSeed<'de> for Apply<'a, T>
[src][+]
impl<'a, 'de, T: SerdeDiff> Visitor<'de> for Apply<'a, T>
[src][+]
Auto Trait Implementations
impl<'a, T> Send for Apply<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for Apply<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for Apply<'a, T>
impl<'a, T> !UnwindSafe for Apply<'a, T>
impl<'a, T> RefUnwindSafe for Apply<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<'de, T> Expected for T where
T: Visitor<'de>,
[src][+]
T: Visitor<'de>,