pub struct ImageUpdate {
pub ai_generated: Option<bool>,
pub annotation: Option<Option<String>>,
pub annotation_link: Option<Option<String>>,
pub description: Option<Option<String>>,
pub image_options: Option<Option<String>>,
pub options: Option<Option<String>>,
pub extra: Map<String, Value>,
}Expand description
Image metadata update used by both image update routes.
Fields§
§ai_generated: Option<bool>Whether the image was generated with AI.
annotation: Option<Option<String>>Image credit or attribution.
None leaves the field out, Some(None) sends null.
annotation_link: Option<Option<String>>Attribution link.
None leaves the field out, Some(None) sends null.
description: Option<Option<String>>Alternative text describing the image for screen readers.
None leaves the field out, Some(None) sends null.
image_options: Option<Option<String>>deprecated in the ChurchTools API
Legacy alias for options.
None leaves the field out, Some(None) sends null.
options: Option<Option<String>>JSON-encoded image options. crop contains the top, right, bottom and left margins relative to the original dimensions. focus contains x and y coordinates relative to the original top-left corner.
None leaves the field out, Some(None) sends null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.