Struct uniffi_bindgen::interface::record::Record
source · pub struct Record {
pub(super) name: String,
pub(super) module_path: String,
pub(super) fields: Vec<Field>,
pub(super) docstring: Option<String>,
}
Expand description
Represents a “data class” style object, for passing around complex values.
In the FFI these are represented as a byte buffer, which one side explicitly serializes the data into and the other serializes it out of. So I guess they’re kind of like “pass by clone” values.
Fields§
§name: String
§module_path: String
§fields: Vec<Field>
§docstring: Option<String>
Implementations§
Trait Implementations§
source§impl PartialEq<Record> for Record
impl PartialEq<Record> for Record
impl Eq for Record
impl StructuralEq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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