# CatalogInput

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-build/struct-cataloginput/

**struct** · [`ferroui-protranslate-build`](/docs/0.5.0/api/ferroui-protranslate-build/) · v0.5.0

```rust
struct CatalogInput
```

One explicitly supplied catalog. `name` is a stable source label, not a discovery path.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L48)

## Members

- [`name`](#struct_field-name)
- [`content`](#struct_field-content)
- [`format`](#struct_field-format)
- [`culture`](#struct_field-culture)
- [`new`](#function-new)
- [`with_culture`](#function-with_culture)
- [`with_format`](#function-with_format)

<a id="struct_field-name"></a>

### name

```rust
name: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L49)

<a id="struct_field-content"></a>

### content

```rust
content: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L50)

<a id="struct_field-format"></a>

### format

```rust
format: ferroui_protranslate_formats::TranslationFileFormat
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L51)

<a id="struct_field-culture"></a>

### culture

```rust
culture: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L52)

<a id="function-new"></a>

### new

```rust
fn new(name: impl Into<String>, content: impl Into<String>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L56)

<a id="function-with_culture"></a>

### with_culture

```rust
fn with_culture(self: Self, culture: impl Into<String>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L68)

<a id="function-with_format"></a>

### with_format

```rust
fn with_format(self: Self, format: TranslationFileFormat) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L73)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
