pub struct UnlinkBody {
pub source: String,
pub target: String,
pub kind: String,
}Expand description
DELETE /v1/links body — remove a directed edge (idempotent).
Fields§
§source: String§target: String§kind: StringImplementations§
Source§impl UnlinkBody
impl UnlinkBody
Sourcepub fn parts(
&self,
) -> Result<(WireMemoryId, WireMemoryId, EdgeKindWire), String>
pub fn parts( &self, ) -> Result<(WireMemoryId, WireMemoryId, EdgeKindWire), String>
Parse into (source, target, kind).
Trait Implementations§
Source§impl Debug for UnlinkBody
impl Debug for UnlinkBody
Source§impl<'de> Deserialize<'de> for UnlinkBody
impl<'de> Deserialize<'de> for UnlinkBody
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 UnlinkBody
impl RefUnwindSafe for UnlinkBody
impl Send for UnlinkBody
impl Sync for UnlinkBody
impl Unpin for UnlinkBody
impl UnsafeUnpin for UnlinkBody
impl UnwindSafe for UnlinkBody
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