pub struct DeleteInterfaceLinkDefinitionRequest {
pub source_id: ComponentId,
pub name: LinkName,
pub wit_namespace: WitNamespace,
pub wit_package: WitPackage,
}
Expand description
A request to remove a link definition and detach the relevant component from the given provider
Fields§
§source_id: ComponentId
The source component’s identifier.
name: LinkName
Name of the link. Not providing this is equivalent to specifying Some(“default”)
wit_namespace: WitNamespace
WIT namespace of the link, e.g. wasi
in wasi:keyvalue/readwrite.get
wit_package: WitPackage
WIT package of the link, e.g. keyvalue
in wasi:keyvalue/readwrite.get
Trait Implementations§
source§impl Clone for DeleteInterfaceLinkDefinitionRequest
impl Clone for DeleteInterfaceLinkDefinitionRequest
source§fn clone(&self) -> DeleteInterfaceLinkDefinitionRequest
fn clone(&self) -> DeleteInterfaceLinkDefinitionRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DeleteInterfaceLinkDefinitionRequest
impl Default for DeleteInterfaceLinkDefinitionRequest
source§fn default() -> DeleteInterfaceLinkDefinitionRequest
fn default() -> DeleteInterfaceLinkDefinitionRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeleteInterfaceLinkDefinitionRequest
impl<'de> Deserialize<'de> for DeleteInterfaceLinkDefinitionRequest
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
source§impl PartialEq for DeleteInterfaceLinkDefinitionRequest
impl PartialEq for DeleteInterfaceLinkDefinitionRequest
source§fn eq(&self, other: &DeleteInterfaceLinkDefinitionRequest) -> bool
fn eq(&self, other: &DeleteInterfaceLinkDefinitionRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DeleteInterfaceLinkDefinitionRequest
impl StructuralPartialEq for DeleteInterfaceLinkDefinitionRequest
Auto Trait Implementations§
impl Freeze for DeleteInterfaceLinkDefinitionRequest
impl RefUnwindSafe for DeleteInterfaceLinkDefinitionRequest
impl Send for DeleteInterfaceLinkDefinitionRequest
impl Sync for DeleteInterfaceLinkDefinitionRequest
impl Unpin for DeleteInterfaceLinkDefinitionRequest
impl UnwindSafe for DeleteInterfaceLinkDefinitionRequest
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.