pub struct ProfileGetBodyParams {
pub store_id: String,
pub root: String,
}Expand description
control.profile.getBody params: WHICH profile body to read, named by store id + root.
The root is part of the question rather than part of the answer: a caller asks for the body at a
root it already knows, so it can never be handed a body for a DIFFERENT root and mistake it for
the one it asked about. A node holding no body at that root answers body_b64: null.
Fields§
§store_id: StringThe profile’s store id: lowercase 64-hex, unprefixed.
root: StringThe root to read the body at: lowercase 64-hex, unprefixed.
Trait Implementations§
Source§impl Clone for ProfileGetBodyParams
impl Clone for ProfileGetBodyParams
Source§fn clone(&self) -> ProfileGetBodyParams
fn clone(&self) -> ProfileGetBodyParams
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 ProfileGetBodyParams
impl ControlCall for ProfileGetBodyParams
Source§const METHOD: ControlMethod = ControlMethod::ProfileGetBody
const METHOD: ControlMethod = ControlMethod::ProfileGetBody
The wire method this call invokes.
Source§type Output = ProfileGetBodyResult
type Output = ProfileGetBodyResult
The typed result this call returns on success.
Source§impl Debug for ProfileGetBodyParams
impl Debug for ProfileGetBodyParams
Source§impl<'de> Deserialize<'de> for ProfileGetBodyParams
impl<'de> Deserialize<'de> for ProfileGetBodyParams
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 ProfileGetBodyParams
Source§impl PartialEq for ProfileGetBodyParams
impl PartialEq for ProfileGetBodyParams
Source§impl Serialize for ProfileGetBodyParams
impl Serialize for ProfileGetBodyParams
impl StructuralPartialEq for ProfileGetBodyParams
Auto Trait Implementations§
impl Freeze for ProfileGetBodyParams
impl RefUnwindSafe for ProfileGetBodyParams
impl Send for ProfileGetBodyParams
impl Sync for ProfileGetBodyParams
impl Unpin for ProfileGetBodyParams
impl UnsafeUnpin for ProfileGetBodyParams
impl UnwindSafe for ProfileGetBodyParams
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