pub struct StellarContractEventParam {
pub name: String,
pub kind: String,
pub location: EventParamLocation,
}
Expand description
Event parameter specification for a Stellar contract event
Describes a single parameter in a contract event, including its name, type, and whether it’s indexed or in the event data.
Fields§
§name: String
Parameter name as defined in the contract
kind: String
Parameter type in Stellar’s type system format
location: EventParamLocation
Whether this parameter is indexed or in data
Trait Implementations§
Source§impl Clone for ContractEventParam
impl Clone for ContractEventParam
Source§fn clone(&self) -> ContractEventParam
fn clone(&self) -> ContractEventParam
Returns a copy 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 ContractEventParam
impl Debug for ContractEventParam
Source§impl Default for ContractEventParam
impl Default for ContractEventParam
Source§fn default() -> ContractEventParam
fn default() -> ContractEventParam
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContractEventParam
impl<'de> Deserialize<'de> for ContractEventParam
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 ContractEventParam
impl PartialEq for ContractEventParam
Source§impl Serialize for ContractEventParam
impl Serialize for ContractEventParam
impl StructuralPartialEq for ContractEventParam
Auto Trait Implementations§
impl Freeze for ContractEventParam
impl RefUnwindSafe for ContractEventParam
impl Send for ContractEventParam
impl Sync for ContractEventParam
impl Unpin for ContractEventParam
impl UnwindSafe for ContractEventParam
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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