pub struct AdvertiseLinkRequest {
pub lattice_id: String,
pub link: LinkDefinition,
}
Expand description
A request to advertise/publish a link definition on a given lattice.
Fields§
§lattice_id: String
The ID of the lattice for this request
link: LinkDefinition
Trait Implementations§
source§impl Clone for AdvertiseLinkRequest
impl Clone for AdvertiseLinkRequest
source§fn clone(&self) -> AdvertiseLinkRequest
fn clone(&self) -> AdvertiseLinkRequest
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 Debug for AdvertiseLinkRequest
impl Debug for AdvertiseLinkRequest
source§impl Default for AdvertiseLinkRequest
impl Default for AdvertiseLinkRequest
source§fn default() -> AdvertiseLinkRequest
fn default() -> AdvertiseLinkRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AdvertiseLinkRequest
impl<'de> Deserialize<'de> for AdvertiseLinkRequest
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<AdvertiseLinkRequest> for AdvertiseLinkRequest
impl PartialEq<AdvertiseLinkRequest> for AdvertiseLinkRequest
source§fn eq(&self, other: &AdvertiseLinkRequest) -> bool
fn eq(&self, other: &AdvertiseLinkRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AdvertiseLinkRequest
impl Serialize for AdvertiseLinkRequest
impl Eq for AdvertiseLinkRequest
impl StructuralEq for AdvertiseLinkRequest
impl StructuralPartialEq for AdvertiseLinkRequest
Auto Trait Implementations§
impl RefUnwindSafe for AdvertiseLinkRequest
impl Send for AdvertiseLinkRequest
impl Sync for AdvertiseLinkRequest
impl Unpin for AdvertiseLinkRequest
impl UnwindSafe for AdvertiseLinkRequest
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.