pub struct PortableResourceRequestRecord {
pub name: String,
pub kind: ResourceKind,
pub package: Option<String>,
pub format: i32,
pub mode: String,
pub source: Option<PortableSourceSpan>,
pub byte_len: Option<u32>,
}Fields§
§name: String§kind: ResourceKind§package: Option<String>§format: i32§mode: String§source: Option<PortableSourceSpan>§byte_len: Option<u32>Trait Implementations§
Source§impl Clone for PortableResourceRequestRecord
impl Clone for PortableResourceRequestRecord
Source§fn clone(&self) -> PortableResourceRequestRecord
fn clone(&self) -> PortableResourceRequestRecord
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 Eq for PortableResourceRequestRecord
Source§impl PartialEq for PortableResourceRequestRecord
impl PartialEq for PortableResourceRequestRecord
Source§fn eq(&self, other: &PortableResourceRequestRecord) -> bool
fn eq(&self, other: &PortableResourceRequestRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PortableResourceRequestRecord
Auto Trait Implementations§
impl Freeze for PortableResourceRequestRecord
impl RefUnwindSafe for PortableResourceRequestRecord
impl Send for PortableResourceRequestRecord
impl Sync for PortableResourceRequestRecord
impl Unpin for PortableResourceRequestRecord
impl UnsafeUnpin for PortableResourceRequestRecord
impl UnwindSafe for PortableResourceRequestRecord
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