pub struct SourceReference {
pub name: String,
pub namespace: Option<String>,
pub columns: Vec<String>,
}Fields§
§name: String§namespace: Option<String>§columns: Vec<String>Trait Implementations§
Source§impl Arbitrary for SourceReference
impl Arbitrary for SourceReference
Source§type Parameters = (<String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Vec<String> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Vec<String> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Vec<String> as Arbitrary>::Strategy), fn((String, Option<String>, Vec<String>)) -> SourceReference>
type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Vec<String> as Arbitrary>::Strategy), fn((String, Option<String>, Vec<String>)) -> SourceReference>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for SourceReference
impl Clone for SourceReference
Source§fn clone(&self) -> SourceReference
fn clone(&self) -> SourceReference
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 SourceReference
impl Debug for SourceReference
Source§impl<'de> Deserialize<'de> for SourceReference
impl<'de> Deserialize<'de> for SourceReference
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
impl Eq for SourceReference
Source§impl Ord for SourceReference
impl Ord for SourceReference
Source§fn cmp(&self, other: &SourceReference) -> Ordering
fn cmp(&self, other: &SourceReference) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SourceReference
impl PartialEq for SourceReference
Source§impl PartialOrd for SourceReference
impl PartialOrd for SourceReference
Source§impl Serialize for SourceReference
impl Serialize for SourceReference
impl StructuralPartialEq for SourceReference
Auto Trait Implementations§
impl Freeze for SourceReference
impl RefUnwindSafe for SourceReference
impl Send for SourceReference
impl Sync for SourceReference
impl Unpin for SourceReference
impl UnsafeUnpin for SourceReference
impl UnwindSafe for SourceReference
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