pub struct AddressUI<'a> { /* private fields */ }Expand description
Defines how an address can be displayed like in chrome://settings/addresses. Address UI is a two dimensional array, each inner array is an “address information line”, and when rendered in a UI surface should be displayed as such. The following address UI for instance: [[{name: “GIVE_NAME”, value: “Jon”}, {name: “FAMILY_NAME”, value: “Doe”}], [{name: “CITY”, value: “Munich”}, {name: “ZIP”, value: “81456”}]] should allow the receiver to render: Jon Doe Munich 81456
Implementations§
Source§impl<'a> AddressUI<'a>
impl<'a> AddressUI<'a>
pub fn builder(addressFields: Vec<AddressFields<'a>>) -> AddressUIBuilder<'a>
pub fn addressFields(&self) -> &[AddressFields<'a>]
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for AddressUI<'a>
impl<'de, 'a> Deserialize<'de> for AddressUI<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for AddressUI<'a>
impl<'a> RefUnwindSafe for AddressUI<'a>
impl<'a> Send for AddressUI<'a>
impl<'a> Sync for AddressUI<'a>
impl<'a> Unpin for AddressUI<'a>
impl<'a> UnsafeUnpin for AddressUI<'a>
impl<'a> UnwindSafe for AddressUI<'a>
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