pub struct CreateEntryRequest {
pub bundle_id: Uuid,
pub section: Option<String>,
pub item_kind_id: Option<Uuid>,
pub english: Option<String>,
pub hebrew: Option<String>,
pub status: EntryStatus,
pub zeplin_reference: Option<String>,
pub comments: Option<String>,
pub in_app: bool,
pub in_element: bool,
pub in_mock: bool,
}
Expand description
Request for creating an entry.
Fields§
§bundle_id: Uuid
This entry’s parent Bundle
’s id
section: Option<String>
The section this entry belongs in
item_kind_id: Option<Uuid>
This entry’s ItemKind
’s id.
english: Option<String>
The English version of this entry.
hebrew: Option<String>
The hebrew version of this entry.
status: EntryStatus
This entry’s current status.
zeplin_reference: Option<String>
A reference url in zeplin
comments: Option<String>
This entry’s comments
in_app: bool
If the entry is in the app.
in_element: bool
If the entry is in an element.
in_mock: bool
If the entry is in mock.
Trait Implementations§
Source§impl Clone for CreateEntryRequest
impl Clone for CreateEntryRequest
Source§fn clone(&self) -> CreateEntryRequest
fn clone(&self) -> CreateEntryRequest
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 Debug for CreateEntryRequest
impl Debug for CreateEntryRequest
Source§impl<'de> Deserialize<'de> for CreateEntryRequest
impl<'de> Deserialize<'de> for CreateEntryRequest
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
Auto Trait Implementations§
impl Freeze for CreateEntryRequest
impl RefUnwindSafe for CreateEntryRequest
impl Send for CreateEntryRequest
impl Sync for CreateEntryRequest
impl Unpin for CreateEntryRequest
impl UnwindSafe for CreateEntryRequest
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