#[non_exhaustive]pub struct DestinationFeatureSetting {
pub feature_id: String,
pub destination_field: String,
/* private fields */
}Available on crate feature
featurestore-service only.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.feature_id: StringRequired. The ID of the Feature to apply the setting to.
destination_field: StringSpecify the field name in the export destination. If not specified, Feature ID is used.
Implementations§
Source§impl DestinationFeatureSetting
impl DestinationFeatureSetting
pub fn new() -> Self
Sourcepub fn set_feature_id<T: Into<String>>(self, v: T) -> Self
pub fn set_feature_id<T: Into<String>>(self, v: T) -> Self
Sets the value of feature_id.
§Example
ⓘ
let x = DestinationFeatureSetting::new().set_feature_id("example");Sourcepub fn set_destination_field<T: Into<String>>(self, v: T) -> Self
pub fn set_destination_field<T: Into<String>>(self, v: T) -> Self
Sets the value of destination_field.
§Example
ⓘ
let x = DestinationFeatureSetting::new().set_destination_field("example");Trait Implementations§
Source§impl Clone for DestinationFeatureSetting
impl Clone for DestinationFeatureSetting
Source§fn clone(&self) -> DestinationFeatureSetting
fn clone(&self) -> DestinationFeatureSetting
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 DestinationFeatureSetting
impl Debug for DestinationFeatureSetting
Source§impl Default for DestinationFeatureSetting
impl Default for DestinationFeatureSetting
Source§fn default() -> DestinationFeatureSetting
fn default() -> DestinationFeatureSetting
Returns the “default value” for a type. Read more
Source§impl Message for DestinationFeatureSetting
impl Message for DestinationFeatureSetting
impl StructuralPartialEq for DestinationFeatureSetting
Auto Trait Implementations§
impl Freeze for DestinationFeatureSetting
impl RefUnwindSafe for DestinationFeatureSetting
impl Send for DestinationFeatureSetting
impl Sync for DestinationFeatureSetting
impl Unpin for DestinationFeatureSetting
impl UnwindSafe for DestinationFeatureSetting
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