#[non_exhaustive]pub struct CreateFeatureOnlineStoreRequest {
pub parent: String,
pub feature_online_store: Option<FeatureOnlineStore>,
pub feature_online_store_id: String,
/* private fields */
}Expand description
Request message for FeatureOnlineStoreAdminService.CreateFeatureOnlineStore.
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.parent: StringRequired. The resource name of the Location to create FeatureOnlineStores.
Format:
projects/{project}/locations/{location}
feature_online_store: Option<FeatureOnlineStore>Required. The FeatureOnlineStore to create.
feature_online_store_id: StringRequired. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore’s resource name.
This value may be up to 60 characters, and valid characters are
[a-z0-9_]. The first character cannot be a number.
The value must be unique within the project and location.
Implementations§
Source§impl CreateFeatureOnlineStoreRequest
impl CreateFeatureOnlineStoreRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_feature_online_store<T: Into<Option<FeatureOnlineStore>>>(
self,
v: T,
) -> Self
pub fn set_feature_online_store<T: Into<Option<FeatureOnlineStore>>>( self, v: T, ) -> Self
Sets the value of feature_online_store.
Sourcepub fn set_feature_online_store_id<T: Into<String>>(self, v: T) -> Self
pub fn set_feature_online_store_id<T: Into<String>>(self, v: T) -> Self
Sets the value of feature_online_store_id.
Trait Implementations§
Source§impl Clone for CreateFeatureOnlineStoreRequest
impl Clone for CreateFeatureOnlineStoreRequest
Source§fn clone(&self) -> CreateFeatureOnlineStoreRequest
fn clone(&self) -> CreateFeatureOnlineStoreRequest
Returns a copy 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 Default for CreateFeatureOnlineStoreRequest
impl Default for CreateFeatureOnlineStoreRequest
Source§fn default() -> CreateFeatureOnlineStoreRequest
fn default() -> CreateFeatureOnlineStoreRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateFeatureOnlineStoreRequest
impl<'de> Deserialize<'de> for CreateFeatureOnlineStoreRequest
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
Source§impl PartialEq for CreateFeatureOnlineStoreRequest
impl PartialEq for CreateFeatureOnlineStoreRequest
Source§fn eq(&self, other: &CreateFeatureOnlineStoreRequest) -> bool
fn eq(&self, other: &CreateFeatureOnlineStoreRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateFeatureOnlineStoreRequest
Auto Trait Implementations§
impl Freeze for CreateFeatureOnlineStoreRequest
impl RefUnwindSafe for CreateFeatureOnlineStoreRequest
impl Send for CreateFeatureOnlineStoreRequest
impl Sync for CreateFeatureOnlineStoreRequest
impl Unpin for CreateFeatureOnlineStoreRequest
impl UnwindSafe for CreateFeatureOnlineStoreRequest
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