# AnimationProgram

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-animation/struct-animationprogram/

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

```rust
struct AnimationProgram
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L14)

## Members

- [`id`](#struct_field-id)
- [`source_key`](#struct_field-source_key)
- [`name`](#struct_field-name)
- [`owner`](#struct_field-owner)
- [`style`](#struct_field-style)
- [`selector`](#struct_field-selector)
- [`targets`](#struct_field-targets)
- [`timeline`](#struct_field-timeline)
- [`codec`](#struct_field-codec)
- [`diagnostics`](#struct_field-diagnostics)
- [`source`](#struct_field-source)
- [`span`](#struct_field-span)
- [`primary_target`](#function-primary_target)

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

### id

```rust
id: ferroui_designer_core::NodeId
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L15)

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

### source_key

```rust
source_key: Option<String>
```

Persisted UUID for source/collaboration identity; legacy source is stamped on first edit.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L18)

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

### name

```rust
name: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L19)

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

### owner

```rust
owner: ferroui_designer_core::NodeId
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L20)

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

### style

```rust
style: Option<ferroui_designer_core::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L21)

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

### selector

```rust
selector: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L22)

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

### targets

```rust
targets: Vec<ferroui_designer_core::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L23)

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

### timeline

```rust
timeline: Option<crate::Timeline>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L24)

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

### codec

```rust
codec: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L25)

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

### diagnostics

```rust
diagnostics: Vec<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L26)

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

### source

```rust
source: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L27)

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

### span

```rust
span: ferroui_designer_core::SourceSpan
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L28)

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

### primary_target

```rust
fn primary_target(self: &Self) -> NodeId
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Animation/programs.rs#L31)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `DeserializeOwned`
- `Clone`
- `Debug`
- `Serialize`
- `Deserialize<'de>`

## Availability

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