Enum roblox::enumeration::HttpContentType [−][src]
pub enum HttpContentType { ApplicationJson, ApplicationXml, ApplicationUrlEncoded, TextPlain, TextXml, }
Expand description
The HttpContentType enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::HttpContentType::ApplicationJson.name(), "ApplicationJson");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::HttpContentType::ApplicationJson.value(), ApplicationJson);
Getting all EnumItems:
let enum_items = roblox::enums::HttpContentType::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpContentType
impl Send for HttpContentType
impl Sync for HttpContentType
impl Unpin for HttpContentType
impl UnwindSafe for HttpContentType
Blanket Implementations
Mutably borrows from an owned value. Read more