#[non_exhaustive]pub struct DataProvider {
pub name: String,
pub primary_contact: String,
/* private fields */
}Expand description
Contains details of the data provider.
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: StringOptional. Name of the data provider.
primary_contact: StringOptional. Email or URL of the data provider. Max Length: 1000 bytes.
Implementations§
Trait Implementations§
Source§impl Clone for DataProvider
impl Clone for DataProvider
Source§fn clone(&self) -> DataProvider
fn clone(&self) -> DataProvider
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 DataProvider
impl Debug for DataProvider
Source§impl Default for DataProvider
impl Default for DataProvider
Source§fn default() -> DataProvider
fn default() -> DataProvider
Returns the “default value” for a type. Read more
Source§impl Message for DataProvider
impl Message for DataProvider
Source§impl PartialEq for DataProvider
impl PartialEq for DataProvider
impl StructuralPartialEq for DataProvider
Auto Trait Implementations§
impl Freeze for DataProvider
impl RefUnwindSafe for DataProvider
impl Send for DataProvider
impl Sync for DataProvider
impl Unpin for DataProvider
impl UnsafeUnpin for DataProvider
impl UnwindSafe for DataProvider
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