pub struct AdapterCode {
pub code: String,
pub source_pattern_id: String,
pub target_pattern_id: String,
pub needs_type_conversion: bool,
pub needs_async_bridge: bool,
}Expand description
Generated adapter code.
Fields§
§code: String§source_pattern_id: String§target_pattern_id: String§needs_type_conversion: bool§needs_async_bridge: boolTrait Implementations§
Source§impl Clone for AdapterCode
impl Clone for AdapterCode
Source§fn clone(&self) -> AdapterCode
fn clone(&self) -> AdapterCode
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 moreAuto Trait Implementations§
impl Freeze for AdapterCode
impl RefUnwindSafe for AdapterCode
impl Send for AdapterCode
impl Sync for AdapterCode
impl Unpin for AdapterCode
impl UnsafeUnpin for AdapterCode
impl UnwindSafe for AdapterCode
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