pub struct PreparedStateDelta {
pub format_version: u32,
pub source_root: String,
pub target_root: String,
pub new_pages: Vec<StatePageBlob>,
pub token_hash: String,
}Fields§
§format_version: u32§source_root: String§target_root: String§new_pages: Vec<StatePageBlob>§token_hash: StringImplementations§
Source§impl PreparedStateDelta
impl PreparedStateDelta
pub fn validate(&self) -> Result<(), CanwuError>
Trait Implementations§
Source§impl Clone for PreparedStateDelta
impl Clone for PreparedStateDelta
Source§fn clone(&self) -> PreparedStateDelta
fn clone(&self) -> PreparedStateDelta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreparedStateDelta
impl Debug for PreparedStateDelta
Source§impl<'de> Deserialize<'de> for PreparedStateDelta
impl<'de> Deserialize<'de> for PreparedStateDelta
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreparedStateDelta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreparedStateDelta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PreparedStateDelta
Source§impl PartialEq for PreparedStateDelta
impl PartialEq for PreparedStateDelta
Source§impl Serialize for PreparedStateDelta
impl Serialize for PreparedStateDelta
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PreparedStateDelta
Auto Trait Implementations§
impl Freeze for PreparedStateDelta
impl RefUnwindSafe for PreparedStateDelta
impl Send for PreparedStateDelta
impl Sync for PreparedStateDelta
impl Unpin for PreparedStateDelta
impl UnsafeUnpin for PreparedStateDelta
impl UnwindSafe for PreparedStateDelta
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