pub struct DataProfile {
pub endpoint_pattern: String,
pub preferred_format: Option<String>,
pub hint_set: Vec<String>,
}Fields§
§endpoint_pattern: StringGlob-like pattern (currently exact-match-or-prefix on endpoint_class).
preferred_format: Option<String>Format id to prefer when the pattern matches.
hint_set: Vec<String>Hint type ids to emit for this domain.
Trait Implementations§
Source§impl Clone for DataProfile
impl Clone for DataProfile
Source§fn clone(&self) -> DataProfile
fn clone(&self) -> DataProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DataProfile
impl Debug for DataProfile
Source§impl<'de> Deserialize<'de> for DataProfile
impl<'de> Deserialize<'de> for DataProfile
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 Freeze for DataProfile
impl RefUnwindSafe for DataProfile
impl Send for DataProfile
impl Sync for DataProfile
impl Unpin for DataProfile
impl UnsafeUnpin for DataProfile
impl UnwindSafe for DataProfile
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