pub struct AdaptiveMtSentence {
pub create_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub source_sentence: Option<String>,
pub target_sentence: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
An AdaptiveMt sentence entry.
This type is not used in any activity, and only used as part of another schema.
Fields§
§create_time: Option<DateTime<Utc>>Output only. Timestamp when this sentence was created.
name: Option<String>Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
source_sentence: Option<String>Required. The source sentence.
target_sentence: Option<String>Required. The target sentence.
update_time: Option<DateTime<Utc>>Output only. Timestamp when this sentence was last updated.
Trait Implementations§
Source§impl Clone for AdaptiveMtSentence
impl Clone for AdaptiveMtSentence
Source§fn clone(&self) -> AdaptiveMtSentence
fn clone(&self) -> AdaptiveMtSentence
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 AdaptiveMtSentence
impl Debug for AdaptiveMtSentence
Source§impl Default for AdaptiveMtSentence
impl Default for AdaptiveMtSentence
Source§fn default() -> AdaptiveMtSentence
fn default() -> AdaptiveMtSentence
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdaptiveMtSentence
impl<'de> Deserialize<'de> for AdaptiveMtSentence
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 AdaptiveMtSentence
impl Serialize for AdaptiveMtSentence
impl Part for AdaptiveMtSentence
Auto Trait Implementations§
impl Freeze for AdaptiveMtSentence
impl RefUnwindSafe for AdaptiveMtSentence
impl Send for AdaptiveMtSentence
impl Sync for AdaptiveMtSentence
impl Unpin for AdaptiveMtSentence
impl UnwindSafe for AdaptiveMtSentence
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