# CameraPhoto

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-camera/struct-cameraphoto/

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

```rust
struct CameraPhoto
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L115)

## Members

- [`encoded`](#struct_field-encoded)
- [`content_type`](#struct_field-content_type)
- [`width`](#struct_field-width)
- [`height`](#struct_field-height)
- [`timestamp`](#struct_field-timestamp)
- [`rotation_degrees`](#struct_field-rotation_degrees)
- [`mirrored`](#struct_field-mirrored)
- [`origin`](#struct_field-origin)

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

### encoded

```rust
encoded: std::sync::Arc<[u8]>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L116)

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

### content_type

```rust
content_type: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L117)

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

### width

```rust
width: u32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L118)

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

### height

```rust
height: u32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L119)

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

### timestamp

```rust
timestamp: std::time::Duration
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L120)

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

### rotation_degrees

```rust
rotation_degrees: u16
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L121)

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

### mirrored

```rust
mirrored: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L122)

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

### origin

```rust
origin: PhotoOrigin
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Camera/lib.rs#L123)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`

## Availability

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