Struct rive_models::autumn::Tag
source · pub struct Tag {
pub max_size: usize,
pub use_ulid: bool,
pub enabled: bool,
pub serve_if_field_present: Vec<String>,
pub restrict_content_type: Option<ContentType>,
}Expand description
Tag information
Fields§
§max_size: usizeMax file size
use_ulid: boolWhether to use ULID as an ID type
enabled: boolWhether is the tag is enabled
serve_if_field_present: Vec<String>List of required fields to be served
restrict_content_type: Option<ContentType>Restricted tag’s content type
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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§
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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