Enum noosphere_api::data::FetchResponse
source · pub enum FetchResponse {
NewChanges {
tip: Cid,
blocks: Bundle,
},
UpToDate,
}Expand description
The possible responses from the “fetch” API route
Variants§
NewChanges
Fields
There are new revisions to the local and “counterpart” spheres to sync with local history
UpToDate
There are no new revisions since the revision specified in the initial fetch request
Trait Implementations§
source§impl Debug for FetchResponse
impl Debug for FetchResponse
source§impl<'de> Deserialize<'de> for FetchResponse
impl<'de> Deserialize<'de> for FetchResponse
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