pub struct Response { /* private fields */ }
Expand description
The diffs to make the pier’s data the same as ours.
Implementations§
source§impl Response
impl Response
sourcepub fn diff(&self) -> &[(impl AsRef<str>, Difference)]
pub fn diff(&self) -> &[(impl AsRef<str>, Difference)]
Returns a list with (resource, diff)
,
where you should call den::Difference::apply
on the data
resource
holds.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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