Struct agde::fast_forward::Response
source · pub struct Response { /* private fields */ }
Expand description
A fast forward response. This contains the data to bring us up and running again.
Implementations§
source§impl Response
impl Response
sourcepub fn metadata(&self) -> &Metadata
pub fn metadata(&self) -> &Metadata
Get the metadata of the remote. Use Metadata::changes
to list which you need to add to
the crate::sync::RequestBuilder
.
Use like this: local_public_metadata.changes(ff_response.metadata())
.
Remove the files the changes says needs to be removed and add the rest to the
crate::sync::RequestBuilder::insert
.
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