#[non_exhaustive]pub struct ResourceInfoList {
pub resources: Vec<ResourceInfo>,
/* private fields */
}Expand description
Message containing resource details in a batch mode.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resources: Vec<ResourceInfo>The resource details.
Implementations§
Source§impl ResourceInfoList
impl ResourceInfoList
pub fn new() -> Self
Sourcepub fn set_resources<T, V>(self, v: T) -> Self
pub fn set_resources<T, V>(self, v: T) -> Self
Sets the value of resources.
Trait Implementations§
Source§impl Clone for ResourceInfoList
impl Clone for ResourceInfoList
Source§fn clone(&self) -> ResourceInfoList
fn clone(&self) -> ResourceInfoList
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 moreSource§impl Debug for ResourceInfoList
impl Debug for ResourceInfoList
Source§impl Default for ResourceInfoList
impl Default for ResourceInfoList
Source§fn default() -> ResourceInfoList
fn default() -> ResourceInfoList
Returns the “default value” for a type. Read more
Source§impl Message for ResourceInfoList
impl Message for ResourceInfoList
Source§impl PartialEq for ResourceInfoList
impl PartialEq for ResourceInfoList
impl StructuralPartialEq for ResourceInfoList
Auto Trait Implementations§
impl Freeze for ResourceInfoList
impl RefUnwindSafe for ResourceInfoList
impl Send for ResourceInfoList
impl Sync for ResourceInfoList
impl Unpin for ResourceInfoList
impl UnwindSafe for ResourceInfoList
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