pub enum GroupConvertedType {
Map,
MapKeyValue,
List,
}
Variants
Map
a map is converted as an optional field containing a repeated key/value pair
MapKeyValue
a key/value pair is converted into a group of two fields
List
a list is converted into an optional field containing a repeated field for its values
Trait Implementations
sourceimpl Clone for GroupConvertedType
impl Clone for GroupConvertedType
sourcefn clone(&self) -> GroupConvertedType
fn clone(&self) -> GroupConvertedType
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 GroupConvertedType
impl Debug for GroupConvertedType
sourceimpl From<GroupConvertedType> for ConvertedType
impl From<GroupConvertedType> for ConvertedType
sourcefn from(type_: GroupConvertedType) -> Self
fn from(type_: GroupConvertedType) -> Self
Converts to this type from the input type.
sourceimpl Hash for GroupConvertedType
impl Hash for GroupConvertedType
sourceimpl TryFrom<ConvertedType> for GroupConvertedType
impl TryFrom<ConvertedType> for GroupConvertedType
impl Copy for GroupConvertedType
impl Eq for GroupConvertedType
impl StructuralEq for GroupConvertedType
impl StructuralPartialEq for GroupConvertedType
Auto Trait Implementations
impl RefUnwindSafe for GroupConvertedType
impl Send for GroupConvertedType
impl Sync for GroupConvertedType
impl Unpin for GroupConvertedType
impl UnwindSafe for GroupConvertedType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.
sourcefn clone_into(&self, target: &mut T)
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