pub struct ForgetBody {
pub memory_id: String,
pub hard: bool,
}Expand description
DELETE /v1/memories body.
Fields§
§memory_id: StringDecimal string of the 128-bit memory id.
hard: boolImplementations§
Source§impl ForgetBody
impl ForgetBody
Sourcepub fn parse_id(&self) -> Result<WireMemoryId, String>
pub fn parse_id(&self) -> Result<WireMemoryId, String>
Parse the decimal id string to a wire id.
Trait Implementations§
Source§impl Debug for ForgetBody
impl Debug for ForgetBody
Source§impl<'de> Deserialize<'de> for ForgetBody
impl<'de> Deserialize<'de> for ForgetBody
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 ForgetBody
impl RefUnwindSafe for ForgetBody
impl Send for ForgetBody
impl Sync for ForgetBody
impl Unpin for ForgetBody
impl UnsafeUnpin for ForgetBody
impl UnwindSafe for ForgetBody
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