pub struct UiNodeScriptAttributes {
    pub async: bool,
    pub crossorigin: String,
    pub id: String,
    pub integrity: String,
    pub node_type: NodeTypeEnum,
    pub nonce: String,
    pub referrerpolicy: String,
    pub src: String,
    pub type: String,
}Fields§
§async: boolThe script async type
crossorigin: StringThe script cross origin policy
id: StringA unique identifier
integrity: StringThe script’s integrity hash
node_type: NodeTypeEnumNodeType represents this node’s types. It is a mirror of node.type and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "script". text Text input Input img Image a Anchor script Script div Division
nonce: StringNonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value!
referrerpolicy: StringThe script referrer policy
src: StringThe script source
type: StringThe script MIME type
Implementations§
Trait Implementations§
Source§impl Clone for UiNodeScriptAttributes
 
impl Clone for UiNodeScriptAttributes
Source§fn clone(&self) -> UiNodeScriptAttributes
 
fn clone(&self) -> UiNodeScriptAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for UiNodeScriptAttributes
 
impl Debug for UiNodeScriptAttributes
Source§impl Default for UiNodeScriptAttributes
 
impl Default for UiNodeScriptAttributes
Source§fn default() -> UiNodeScriptAttributes
 
fn default() -> UiNodeScriptAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UiNodeScriptAttributes
 
impl<'de> Deserialize<'de> for UiNodeScriptAttributes
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
Source§impl PartialEq for UiNodeScriptAttributes
 
impl PartialEq for UiNodeScriptAttributes
Source§impl Serialize for UiNodeScriptAttributes
 
impl Serialize for UiNodeScriptAttributes
impl StructuralPartialEq for UiNodeScriptAttributes
Auto Trait Implementations§
impl Freeze for UiNodeScriptAttributes
impl RefUnwindSafe for UiNodeScriptAttributes
impl Send for UiNodeScriptAttributes
impl Sync for UiNodeScriptAttributes
impl Unpin for UiNodeScriptAttributes
impl UnwindSafe for UiNodeScriptAttributes
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