pub struct PackageArgs {
pub address: Address,
pub version: Option<u64>,
}
Fields§
§address: Address
§version: Option<u64>
Trait Implementations§
Source§impl Debug for PackageArgs
impl Debug for PackageArgs
Source§impl QueryVariables for PackageArgs
impl QueryVariables for PackageArgs
Auto Trait Implementations§
impl Freeze for PackageArgs
impl RefUnwindSafe for PackageArgs
impl Send for PackageArgs
impl Sync for PackageArgs
impl Unpin for PackageArgs
impl UnwindSafe for PackageArgs
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moreSource§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