pub struct UpdateCatalogFileOptions {
pub target_path: PathBuf,
pub locale: Option<String>,
pub source_locale: String,
pub extracted: Vec<ExtractedMessage>,
pub plural_encoding: PluralEncoding,
pub obsolete_strategy: ObsoleteStrategy,
pub overwrite_source_translations: bool,
pub order_by: OrderBy,
pub include_origins: bool,
pub include_line_numbers: bool,
pub print_placeholders_in_comments: PlaceholderCommentMode,
pub custom_header_attributes: BTreeMap<String, String>,
}Fields§
§target_path: PathBuf§locale: Option<String>§source_locale: String§extracted: Vec<ExtractedMessage>§plural_encoding: PluralEncoding§obsolete_strategy: ObsoleteStrategy§overwrite_source_translations: bool§order_by: OrderBy§include_origins: bool§include_line_numbers: bool§print_placeholders_in_comments: PlaceholderCommentMode§custom_header_attributes: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for UpdateCatalogFileOptions
impl Clone for UpdateCatalogFileOptions
Source§fn clone(&self) -> UpdateCatalogFileOptions
fn clone(&self) -> UpdateCatalogFileOptions
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 UpdateCatalogFileOptions
impl Debug for UpdateCatalogFileOptions
Source§impl Default for UpdateCatalogFileOptions
impl Default for UpdateCatalogFileOptions
Source§fn default() -> UpdateCatalogFileOptions
fn default() -> UpdateCatalogFileOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateCatalogFileOptions
impl PartialEq for UpdateCatalogFileOptions
impl Eq for UpdateCatalogFileOptions
impl StructuralPartialEq for UpdateCatalogFileOptions
Auto Trait Implementations§
impl Freeze for UpdateCatalogFileOptions
impl RefUnwindSafe for UpdateCatalogFileOptions
impl Send for UpdateCatalogFileOptions
impl Sync for UpdateCatalogFileOptions
impl Unpin for UpdateCatalogFileOptions
impl UnsafeUnpin for UpdateCatalogFileOptions
impl UnwindSafe for UpdateCatalogFileOptions
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