#[repr(C)]pub struct RepeatableMapShape {
pub repetition: Repetition,
pub map_type: i32,
pub duplicate_key_policy: DuplicateKeyPolicy,
}Fields§
§repetition: Repetition§map_type: i32Index into tool.schema; a golem:core map (key + value) node. The
collected value is this map.
duplicate_key_policy: DuplicateKeyPolicyWhat happens when the same key is supplied more than once.
Trait Implementations§
Source§impl Clone for RepeatableMapShape
impl Clone for RepeatableMapShape
Source§fn clone(&self) -> RepeatableMapShape
fn clone(&self) -> RepeatableMapShape
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 moreimpl Copy for RepeatableMapShape
Auto Trait Implementations§
impl Freeze for RepeatableMapShape
impl RefUnwindSafe for RepeatableMapShape
impl Send for RepeatableMapShape
impl Sync for RepeatableMapShape
impl Unpin for RepeatableMapShape
impl UnsafeUnpin for RepeatableMapShape
impl UnwindSafe for RepeatableMapShape
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