pub struct AppStoreVersionLocalizationFields {
pub description: Option<String>,
pub keywords: Option<String>,
pub marketing_url: Option<String>,
pub promotional_text: Option<String>,
pub support_url: Option<String>,
pub whats_new: Option<String>,
}Fields§
§description: Option<String>§keywords: Option<String>§marketing_url: Option<String>§promotional_text: Option<String>§support_url: Option<String>§whats_new: Option<String>Implementations§
Source§impl AppStoreVersionLocalizationFields
impl AppStoreVersionLocalizationFields
Sourcepub fn validate(&self) -> Result<Vec<String>, String>
pub fn validate(&self) -> Result<Vec<String>, String>
Check the fields against App Store Connect’s length limits before anything is sent; Apple answers an over-long value with an opaque 400. Lengths are counted in characters, as Apple counts them.
Returns Err naming the first field over its limit (with its length
and the limit), or Ok with advisory warnings: a space after a
keyword comma and empty keyword entries both waste the 100-character
budget without changing what the store indexes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppStoreVersionLocalizationFields
impl RefUnwindSafe for AppStoreVersionLocalizationFields
impl Send for AppStoreVersionLocalizationFields
impl Sync for AppStoreVersionLocalizationFields
impl Unpin for AppStoreVersionLocalizationFields
impl UnsafeUnpin for AppStoreVersionLocalizationFields
impl UnwindSafe for AppStoreVersionLocalizationFields
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more