Record Class FeeType.StakeDeposit
java.lang.Object
java.lang.Record
software.sava.solana.programs.stakepool.FeeType.StakeDeposit
- All Implemented Interfaces:
software.sava.core.borsh.Borsh,software.sava.core.borsh.RustEnum,software.sava.core.borsh.RustEnum.BorshEnum,software.sava.core.serial.Serializable,FeeType
- Enclosing interface:
FeeType
public static record FeeType.StakeDeposit(StakePoolState.Fee val)
extends Record
implements software.sava.core.borsh.RustEnum.BorshEnum, FeeType
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.sava.core.borsh.Borsh
software.sava.core.borsh.Borsh.Enum, software.sava.core.borsh.Borsh.Factory<T>Nested classes/interfaces inherited from interface software.sava.solana.programs.stakepool.FeeType
FeeType.Epoch, FeeType.SolDeposit, FeeType.SolReferral, FeeType.SolWithdrawal, FeeType.StakeDeposit, FeeType.StakeReferral, FeeType.StakeWithdrawalNested classes/interfaces inherited from interface software.sava.core.borsh.RustEnum
software.sava.core.borsh.RustEnum.BorshArrayEnum, software.sava.core.borsh.RustEnum.BorshEnum, software.sava.core.borsh.RustEnum.BorshVectorEnum, software.sava.core.borsh.RustEnum.EnumBool, software.sava.core.borsh.RustEnum.EnumBytes, software.sava.core.borsh.RustEnum.EnumFloat32, software.sava.core.borsh.RustEnum.EnumFloat64, software.sava.core.borsh.RustEnum.EnumInt128, software.sava.core.borsh.RustEnum.EnumInt16, software.sava.core.borsh.RustEnum.EnumInt256, software.sava.core.borsh.RustEnum.EnumInt32, software.sava.core.borsh.RustEnum.EnumInt64, software.sava.core.borsh.RustEnum.EnumInt8, software.sava.core.borsh.RustEnum.EnumNone, software.sava.core.borsh.RustEnum.EnumPublicKey, software.sava.core.borsh.RustEnum.EnumString, software.sava.core.borsh.RustEnum.OptionalBorshEnum, software.sava.core.borsh.RustEnum.OptionalEnumBool, software.sava.core.borsh.RustEnum.OptionalEnumBytes, software.sava.core.borsh.RustEnum.OptionalEnumFloat32, software.sava.core.borsh.RustEnum.OptionalEnumFloat64, software.sava.core.borsh.RustEnum.OptionalEnumInt128, software.sava.core.borsh.RustEnum.OptionalEnumInt16, software.sava.core.borsh.RustEnum.OptionalEnumInt256, software.sava.core.borsh.RustEnum.OptionalEnumInt32, software.sava.core.borsh.RustEnum.OptionalEnumInt64, software.sava.core.borsh.RustEnum.OptionalEnumInt8, software.sava.core.borsh.RustEnum.OptionalEnumPublicKey, software.sava.core.borsh.RustEnum.OptionalEnumString, software.sava.core.borsh.RustEnum.PublicKeyArrayEnum, software.sava.core.borsh.RustEnum.PublicKeyVectorEnum -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aStakeDepositrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intordinal()final StringtoString()Returns a string representation of this record class.val()Returns the value of thevalrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.sava.core.borsh.Borsh
writeOptionalMethods inherited from interface software.sava.core.borsh.RustEnum
name, writeOrdinalMethods inherited from interface software.sava.core.borsh.RustEnum.BorshEnum
l, writeMethods inherited from interface software.sava.core.serial.Serializable
reusable, write, write
-
Constructor Details
-
StakeDeposit
Creates an instance of aStakeDepositrecord class.- Parameters:
val- the value for thevalrecord component
-
-
Method Details
-
ordinal
public int ordinal()- Specified by:
ordinalin interfacesoftware.sava.core.borsh.RustEnum
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
val
Returns the value of thevalrecord component.- Specified by:
valin interfacesoftware.sava.core.borsh.RustEnum.BorshEnum- Returns:
- the value of the
valrecord component
-