pub struct ServiceImport {
pub name: String,
pub interface: String,
}Expand description
Service import declaration.
Fields§
§name: String§interface: StringTrait Implementations§
Source§impl Clone for ServiceImport
impl Clone for ServiceImport
Source§fn clone(&self) -> ServiceImport
fn clone(&self) -> ServiceImport
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 Debug for ServiceImport
impl Debug for ServiceImport
Source§impl<'de> Deserialize<'de> for ServiceImport
impl<'de> Deserialize<'de> for ServiceImport
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 ServiceImport
Source§impl PartialEq for ServiceImport
impl PartialEq for ServiceImport
Source§fn eq(&self, other: &ServiceImport) -> bool
fn eq(&self, other: &ServiceImport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceImport
impl Serialize for ServiceImport
impl StructuralPartialEq for ServiceImport
Auto Trait Implementations§
impl Freeze for ServiceImport
impl RefUnwindSafe for ServiceImport
impl Send for ServiceImport
impl Sync for ServiceImport
impl Unpin for ServiceImport
impl UnsafeUnpin for ServiceImport
impl UnwindSafe for ServiceImport
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