Struct wasmbus_rpc::model::RenameItem
source · [−]Expand description
list element of trait @rename. the item name in the target language see ‘@rename’
Fields
lang: String
language
name: String
the name of the structure/operation/field
Trait Implementations
sourceimpl Clone for RenameItem
impl Clone for RenameItem
sourcefn clone(&self) -> RenameItem
fn clone(&self) -> RenameItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RenameItem
impl Debug for RenameItem
sourceimpl<'de> Deserialize<'de> for RenameItem
impl<'de> Deserialize<'de> for RenameItem
sourcefn 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
sourceimpl PartialEq<RenameItem> for RenameItem
impl PartialEq<RenameItem> for RenameItem
sourcefn eq(&self, other: &RenameItem) -> bool
fn eq(&self, other: &RenameItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RenameItem) -> bool
fn ne(&self, other: &RenameItem) -> bool
This method tests for !=
.
sourceimpl Serialize for RenameItem
impl Serialize for RenameItem
impl Eq for RenameItem
impl StructuralEq for RenameItem
impl StructuralPartialEq for RenameItem
Auto Trait Implementations
impl RefUnwindSafe for RenameItem
impl Send for RenameItem
impl Sync for RenameItem
impl Unpin for RenameItem
impl UnwindSafe for RenameItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more