pub struct ReplicateParameters {
pub since: Option<Link<MemoIpld>>,
pub include_content: bool,
}Expand description
The query parameters expected for the “replicate” API route.
Fields§
§since: Option<Link<MemoIpld>>This is the last revision of the content that is being fetched that is already fully available to the caller of the API.
include_content: boolIf true, all content in the sphere’s content space as of the associated
version will be replicated along with the sphere itself. If this field
is used without a specific since, then the replication request is
assumed to be for the whole of a single version of a sphere (and not its
history).
Trait Implementations§
Source§impl AsQuery for ReplicateParameters
impl AsQuery for ReplicateParameters
Source§impl Debug for ReplicateParameters
impl Debug for ReplicateParameters
Source§impl<'de> Deserialize<'de> for ReplicateParameters
impl<'de> Deserialize<'de> for ReplicateParameters
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
Auto Trait Implementations§
impl Freeze for ReplicateParameters
impl RefUnwindSafe for ReplicateParameters
impl Send for ReplicateParameters
impl Sync for ReplicateParameters
impl Unpin for ReplicateParameters
impl UnwindSafe for ReplicateParameters
Blanket Implementations§
Source§impl<T> Base64Encode for Twhere
T: DagJson,
impl<T> Base64Encode for Twhere
T: DagJson,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more