pub struct SetLocalValue {
pub type: SetLocalValueType,
pub value: ListLocalValue,
}Fields§
§type: SetLocalValueType§value: ListLocalValueImplementations§
Source§impl SetLocalValue
impl SetLocalValue
pub fn builder() -> SetLocalValueBuilder
Source§impl SetLocalValue
impl SetLocalValue
pub fn new( type: impl Into<SetLocalValueType>, value: impl Into<ListLocalValue>, ) -> Self
Source§impl SetLocalValue
impl SetLocalValue
pub const IDENTIFIER: &'static str = "script.SetLocalValue"
pub const DOMAIN_DIRECTION: &'static str = "all"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetLocalValue
impl Clone for SetLocalValue
Source§fn clone(&self) -> SetLocalValue
fn clone(&self) -> SetLocalValue
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 SetLocalValue
impl Debug for SetLocalValue
Source§impl<'de> Deserialize<'de> for SetLocalValue
impl<'de> Deserialize<'de> for SetLocalValue
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 From<SetLocalValue> for LocalValue
impl From<SetLocalValue> for LocalValue
Source§fn from(v: SetLocalValue) -> Self
fn from(v: SetLocalValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetLocalValue
impl PartialEq for SetLocalValue
Source§impl Serialize for SetLocalValue
impl Serialize for SetLocalValue
Source§impl TryFrom<LocalValue> for SetLocalValue
impl TryFrom<LocalValue> for SetLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
impl StructuralPartialEq for SetLocalValue
Auto Trait Implementations§
impl Freeze for SetLocalValue
impl RefUnwindSafe for SetLocalValue
impl Send for SetLocalValue
impl Sync for SetLocalValue
impl Unpin for SetLocalValue
impl UnsafeUnpin for SetLocalValue
impl UnwindSafe for SetLocalValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more