#[non_exhaustive]pub struct Agreement {
pub name: &'static str,
pub url: &'static str,
}Expand description
A vendor’s agreement its app shows its user, who accepts it there themselves
(Note::InstallingFromVendor): nothing here ever accepts it for them.
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.name: &'static strIts name, as its vendor writes it.
url: &'static strWhere its vendor publishes it.
Trait Implementations§
impl Copy for Agreement
impl Eq for Agreement
impl StructuralPartialEq for Agreement
Auto Trait Implementations§
impl Forget for Agreement
impl Freeze for Agreement
impl Move for Agreement
impl RefUnwindSafe for Agreement
impl Send for Agreement
impl Sync for Agreement
impl Unpin for Agreement
impl UnsafeUnpin for Agreementwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for Agreementwhere
&'static str: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.