pub struct SetRemoteValue {
pub type: SetRemoteValueType,
pub handle: Option<Handle>,
pub internal_id: Option<InternalId>,
pub value: Option<ListRemoteValue>,
}Fields§
§type: SetRemoteValueType§handle: Option<Handle>§internal_id: Option<InternalId>§value: Option<ListRemoteValue>Implementations§
Source§impl SetRemoteValue
impl SetRemoteValue
pub fn builder() -> SetRemoteValueBuilder
Source§impl SetRemoteValue
impl SetRemoteValue
pub fn new(type: impl Into<SetRemoteValueType>) -> Self
Source§impl SetRemoteValue
impl SetRemoteValue
pub const IDENTIFIER: &'static str = "script.SetRemoteValue"
pub const DOMAIN_DIRECTION: &'static str = "all"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetRemoteValue
impl Clone for SetRemoteValue
Source§fn clone(&self) -> SetRemoteValue
fn clone(&self) -> SetRemoteValue
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 SetRemoteValue
impl Debug for SetRemoteValue
Source§impl<'de> Deserialize<'de> for SetRemoteValue
impl<'de> Deserialize<'de> for SetRemoteValue
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<SetRemoteValue> for RemoteValue
impl From<SetRemoteValue> for RemoteValue
Source§fn from(v: SetRemoteValue) -> Self
fn from(v: SetRemoteValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetRemoteValue
impl PartialEq for SetRemoteValue
Source§impl Serialize for SetRemoteValue
impl Serialize for SetRemoteValue
Source§impl TryFrom<RemoteValue> for SetRemoteValue
impl TryFrom<RemoteValue> for SetRemoteValue
Source§type Error = RemoteValue
type Error = RemoteValue
The type returned in the event of a conversion error.
impl StructuralPartialEq for SetRemoteValue
Auto Trait Implementations§
impl Freeze for SetRemoteValue
impl RefUnwindSafe for SetRemoteValue
impl Send for SetRemoteValue
impl Sync for SetRemoteValue
impl Unpin for SetRemoteValue
impl UnsafeUnpin for SetRemoteValue
impl UnwindSafe for SetRemoteValue
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