agde::fast_forward

Struct 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

source

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.

source

pub fn recipient(&self) -> Uuid

Get the recipient of this response.

Trait Implementations§