Skip to main content

CameraMetadata

Struct CameraMetadata 

Source
pub struct CameraMetadata {
Show 65 fields pub camera_indices: Option<u32>, pub cameras: Option<String>, pub circle_of_confusion: Option<String>, pub contrast: Option<String>, pub depth_map_confidence_uri: Option<String>, pub depth_map_depth_uri: Option<String>, pub depth_map_far: Option<f64>, pub depth_map_focal_table: Option<String>, pub depth_map_focal_table_entry_count: Option<u32>, pub depth_map_format: Option<String>, pub depth_map_item_semantic: Option<String>, pub depth_map_measure_type: Option<String>, pub depth_map_near: Option<f64>, pub depth_map_units: Option<String>, pub device_model_desc: Option<String>, pub digital_zoom_ratio: Option<f64>, pub exposure_mode: Option<String>, pub exposure_program: Option<String>, pub flash: Option<String>, pub flash_energy: Option<f64>, pub focal_length: Option<String>, pub focal_length_35_efl: Option<String>, pub focal_length_in_35mm_format: Option<String>, pub hdrp_maker_note: Option<String>, pub hdr_plus_makernote: Option<String>, pub hyperfocal_distance: Option<String>, pub image_item_semantic: Option<String>, pub image_item_uri: Option<String>, pub imaging_model_distortion: Option<String>, pub imaging_model_distortion_count: Option<u32>, pub imaging_model_focal_length_x: Option<f64>, pub imaging_model_focal_length_y: Option<f64>, pub imaging_model_image_height: Option<u32>, pub imaging_model_image_width: Option<u32>, pub imaging_model_pixel_aspect_ratio: Option<f64>, pub imaging_model_principal_point_x: Option<f64>, pub imaging_model_principal_point_y: Option<f64>, pub imaging_model_skew: Option<f64>, pub lens_id: Option<String>, pub light_source: Option<String>, pub make: Option<String>, pub max_aperture_value: Option<f64>, pub metering_mode: Option<String>, pub model: Option<String>, pub motion_photo: Option<u8>, pub motion_photo_presentation_timestamp_us: Option<u64>, pub motion_photo_version: Option<f64>, pub portrait_note: Option<String>, pub portrait_relighting_light_pos: Option<String>, pub portrait_relighting_rendering_options: Option<String>, pub profiles: Option<String>, pub relit_input_image_data: Option<String>, pub relit_input_image_mime: Option<String>, pub saturation: Option<String>, pub scale_factor_35_efl: Option<f64>, pub scene_capture_type: Option<String>, pub sensing_method: Option<String>, pub sharpness: Option<String>, pub shot_log_data: Option<String>, pub special_type_id: Option<String>, pub subject_distance: Option<String>, pub subject_distance_range: Option<String>, pub trait_: Option<String>, pub camera_type: Option<String>, pub white_balance: Option<String>,
}

Fields§

§camera_indices: Option<u32>§cameras: Option<String>§circle_of_confusion: Option<String>§contrast: Option<String>§depth_map_confidence_uri: Option<String>§depth_map_depth_uri: Option<String>§depth_map_far: Option<f64>§depth_map_focal_table: Option<String>§depth_map_focal_table_entry_count: Option<u32>§depth_map_format: Option<String>§depth_map_item_semantic: Option<String>§depth_map_measure_type: Option<String>§depth_map_near: Option<f64>§depth_map_units: Option<String>§device_model_desc: Option<String>§digital_zoom_ratio: Option<f64>§exposure_mode: Option<String>§exposure_program: Option<String>§flash: Option<String>§flash_energy: Option<f64>§focal_length: Option<String>§focal_length_35_efl: Option<String>§focal_length_in_35mm_format: Option<String>§hdrp_maker_note: Option<String>§hdr_plus_makernote: Option<String>§hyperfocal_distance: Option<String>§image_item_semantic: Option<String>§image_item_uri: Option<String>§imaging_model_distortion: Option<String>§imaging_model_distortion_count: Option<u32>§imaging_model_focal_length_x: Option<f64>§imaging_model_focal_length_y: Option<f64>§imaging_model_image_height: Option<u32>§imaging_model_image_width: Option<u32>§imaging_model_pixel_aspect_ratio: Option<f64>§imaging_model_principal_point_x: Option<f64>§imaging_model_principal_point_y: Option<f64>§imaging_model_skew: Option<f64>§lens_id: Option<String>§light_source: Option<String>§make: Option<String>§max_aperture_value: Option<f64>§metering_mode: Option<String>§model: Option<String>§motion_photo: Option<u8>§motion_photo_presentation_timestamp_us: Option<u64>§motion_photo_version: Option<f64>§portrait_note: Option<String>§portrait_relighting_light_pos: Option<String>§portrait_relighting_rendering_options: Option<String>§profiles: Option<String>§relit_input_image_data: Option<String>§relit_input_image_mime: Option<String>§saturation: Option<String>§scale_factor_35_efl: Option<f64>§scene_capture_type: Option<String>§sensing_method: Option<String>§sharpness: Option<String>§shot_log_data: Option<String>§special_type_id: Option<String>§subject_distance: Option<String>§subject_distance_range: Option<String>§trait_: Option<String>§camera_type: Option<String>§white_balance: Option<String>

Trait Implementations§

Source§

impl Clone for CameraMetadata

Source§

fn clone(&self) -> CameraMetadata

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CameraMetadata

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CameraMetadata

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,