pub struct ExecuteComponentRequestRawCode {
pub content: String,
pub language: String,
pub path: Option<String>,
pub lock: Option<String>,
pub cache_ttl: Option<i32>,
}
Fields§
§content: String
§language: String
§path: Option<String>
§lock: Option<String>
§cache_ttl: Option<i32>
Implementations§
Source§impl ExecuteComponentRequestRawCode
impl ExecuteComponentRequestRawCode
pub fn new(content: String, language: String) -> ExecuteComponentRequestRawCode
Trait Implementations§
Source§impl Clone for ExecuteComponentRequestRawCode
impl Clone for ExecuteComponentRequestRawCode
Source§fn clone(&self) -> ExecuteComponentRequestRawCode
fn clone(&self) -> ExecuteComponentRequestRawCode
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 Default for ExecuteComponentRequestRawCode
impl Default for ExecuteComponentRequestRawCode
Source§fn default() -> ExecuteComponentRequestRawCode
fn default() -> ExecuteComponentRequestRawCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecuteComponentRequestRawCode
impl<'de> Deserialize<'de> for ExecuteComponentRequestRawCode
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 ExecuteComponentRequestRawCode
impl PartialEq for ExecuteComponentRequestRawCode
Source§fn eq(&self, other: &ExecuteComponentRequestRawCode) -> bool
fn eq(&self, other: &ExecuteComponentRequestRawCode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExecuteComponentRequestRawCode
Auto Trait Implementations§
impl Freeze for ExecuteComponentRequestRawCode
impl RefUnwindSafe for ExecuteComponentRequestRawCode
impl Send for ExecuteComponentRequestRawCode
impl Sync for ExecuteComponentRequestRawCode
impl Unpin for ExecuteComponentRequestRawCode
impl UnwindSafe for ExecuteComponentRequestRawCode
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