Enum noosphere_api::data::FetchResponse
source · Expand description
The possible responses from the “fetch” API route
Variants
NewChanges
Fields
tip: CidThe tip of the “counterpart” sphere that is managed by the API host that the client is fetching from
blocks: BundleAll the new blocks of the “counterpart” sphere as well as the new blocks of the local sphere that correspond to remote changes from other clients
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
sourceimpl Debug for FetchResponse
impl Debug for FetchResponse
sourceimpl<'de> Deserialize<'de> for FetchResponse
impl<'de> Deserialize<'de> for FetchResponse
sourcefn 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
sourceimpl Serialize for FetchResponse
impl Serialize for FetchResponse
Auto Trait Implementations
impl RefUnwindSafe for FetchResponse
impl Send for FetchResponse
impl Sync for FetchResponse
impl Unpin for FetchResponse
impl UnwindSafe for FetchResponse
Blanket Implementations
sourceimpl<T> Base64Encode for Twhere
T: DagJson,
impl<T> Base64Encode for Twhere
T: DagJson,
fn jwt_base64_encode(&self) -> Result<String, Error>
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more