#[non_exhaustive]pub struct AddressesScopedList {
pub addresses: Vec<Address>,
pub warning: Option<Warning>,
/* private fields */
}Available on crate feature
addresses only.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.addresses: Vec<Address>[Output Only] A list of addresses contained in this scope.
warning: Option<Warning>[Output Only] Informational warning which replaces the list of addresses when the list is empty.
Implementations§
Source§impl AddressesScopedList
impl AddressesScopedList
pub fn new() -> Self
Sourcepub fn set_addresses<T, V>(self, v: T) -> Self
pub fn set_addresses<T, V>(self, v: T) -> Self
Sourcepub fn set_warning<T>(self, v: T) -> Self
pub fn set_warning<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_warning<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_warning<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for AddressesScopedList
impl Clone for AddressesScopedList
Source§fn clone(&self) -> AddressesScopedList
fn clone(&self) -> AddressesScopedList
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 AddressesScopedList
impl Debug for AddressesScopedList
Source§impl Default for AddressesScopedList
impl Default for AddressesScopedList
Source§fn default() -> AddressesScopedList
fn default() -> AddressesScopedList
Returns the “default value” for a type. Read more
Source§impl Message for AddressesScopedList
impl Message for AddressesScopedList
Source§impl PartialEq for AddressesScopedList
impl PartialEq for AddressesScopedList
impl StructuralPartialEq for AddressesScopedList
Auto Trait Implementations§
impl Freeze for AddressesScopedList
impl RefUnwindSafe for AddressesScopedList
impl Send for AddressesScopedList
impl Sync for AddressesScopedList
impl Unpin for AddressesScopedList
impl UnwindSafe for AddressesScopedList
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