#[non_exhaustive]pub struct ObjectNameMappingList {
pub name_map: Vec<ObjectNameMapping>,
/* private fields */
}Expand description
Represents a map of name mappings using a list of key:value proto messages of existing name to desired output name.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name_map: Vec<ObjectNameMapping>The elements of the object name map.
Implementations§
Source§impl ObjectNameMappingList
impl ObjectNameMappingList
pub fn new() -> Self
Sourcepub fn set_name_map<T, V>(self, v: T) -> Self
pub fn set_name_map<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ObjectNameMappingList
impl Clone for ObjectNameMappingList
Source§fn clone(&self) -> ObjectNameMappingList
fn clone(&self) -> ObjectNameMappingList
Returns a duplicate 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 ObjectNameMappingList
impl Debug for ObjectNameMappingList
Source§impl Default for ObjectNameMappingList
impl Default for ObjectNameMappingList
Source§fn default() -> ObjectNameMappingList
fn default() -> ObjectNameMappingList
Returns the “default value” for a type. Read more
Source§impl Message for ObjectNameMappingList
impl Message for ObjectNameMappingList
Source§impl PartialEq for ObjectNameMappingList
impl PartialEq for ObjectNameMappingList
impl StructuralPartialEq for ObjectNameMappingList
Auto Trait Implementations§
impl Freeze for ObjectNameMappingList
impl RefUnwindSafe for ObjectNameMappingList
impl Send for ObjectNameMappingList
impl Sync for ObjectNameMappingList
impl Unpin for ObjectNameMappingList
impl UnwindSafe for ObjectNameMappingList
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