pub struct CreatePhraseSetRequest {
pub phrase_set: Option<PhraseSet>,
pub phrase_set_id: Option<String>,
}Expand description
Message sent by the client for the CreatePhraseSet method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations phrase sets create projects (request)
Fields§
§phrase_set: Option<PhraseSet>Required. The phrase set to create.
phrase_set_id: Option<String>Required. The ID to use for the phrase set, which will become the final component of the phrase set’s resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
Trait Implementations§
Source§impl Clone for CreatePhraseSetRequest
impl Clone for CreatePhraseSetRequest
Source§fn clone(&self) -> CreatePhraseSetRequest
fn clone(&self) -> CreatePhraseSetRequest
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 CreatePhraseSetRequest
impl Debug for CreatePhraseSetRequest
Source§impl Default for CreatePhraseSetRequest
impl Default for CreatePhraseSetRequest
Source§fn default() -> CreatePhraseSetRequest
fn default() -> CreatePhraseSetRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatePhraseSetRequest
impl<'de> Deserialize<'de> for CreatePhraseSetRequest
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 Serialize for CreatePhraseSetRequest
impl Serialize for CreatePhraseSetRequest
impl RequestValue for CreatePhraseSetRequest
Auto Trait Implementations§
impl Freeze for CreatePhraseSetRequest
impl RefUnwindSafe for CreatePhraseSetRequest
impl Send for CreatePhraseSetRequest
impl Sync for CreatePhraseSetRequest
impl Unpin for CreatePhraseSetRequest
impl UnwindSafe for CreatePhraseSetRequest
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