pub struct CapsuleFetchParams {
pub store: String,
pub root: String,
}Expand description
control.capsule.fetch params: WHICH capsule to pull, named by store id + root — the same
two-field shape as ProfileGetBodyParams, not the colon-joined store string
PinParams/SyncTriggerParams use, because the caller always knows both parts already
(there is no store-level-only fetch).
Fields§
§store: StringThe store id to fetch a capsule of.
root: StringThe capsule root to fetch.
Trait Implementations§
Source§impl Clone for CapsuleFetchParams
impl Clone for CapsuleFetchParams
Source§fn clone(&self) -> CapsuleFetchParams
fn clone(&self) -> CapsuleFetchParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCall for CapsuleFetchParams
impl ControlCall for CapsuleFetchParams
Source§const METHOD: ControlMethod = ControlMethod::CapsuleFetch
const METHOD: ControlMethod = ControlMethod::CapsuleFetch
The wire method this call invokes.
Source§type Output = CapsuleFetchResult
type Output = CapsuleFetchResult
The typed result this call returns on success.
Source§impl Debug for CapsuleFetchParams
impl Debug for CapsuleFetchParams
Source§impl<'de> Deserialize<'de> for CapsuleFetchParams
impl<'de> Deserialize<'de> for CapsuleFetchParams
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
impl Eq for CapsuleFetchParams
Source§impl PartialEq for CapsuleFetchParams
impl PartialEq for CapsuleFetchParams
Source§impl Serialize for CapsuleFetchParams
impl Serialize for CapsuleFetchParams
impl StructuralPartialEq for CapsuleFetchParams
Auto Trait Implementations§
impl Freeze for CapsuleFetchParams
impl RefUnwindSafe for CapsuleFetchParams
impl Send for CapsuleFetchParams
impl Sync for CapsuleFetchParams
impl Unpin for CapsuleFetchParams
impl UnsafeUnpin for CapsuleFetchParams
impl UnwindSafe for CapsuleFetchParams
Blanket Implementations§
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