pub struct XChainModifyBridge<'a> {
pub common_fields: CommonFields<'a, XChainModifyBridgeFlags>,
pub xchain_bridge: XChainBridge<'a>,
pub min_account_create_amount: Option<Amount<'a>>,
pub signature_reward: Option<Amount<'a>>,
}
Fields§
§common_fields: CommonFields<'a, XChainModifyBridgeFlags>
§xchain_bridge: XChainBridge<'a>
§min_account_create_amount: Option<Amount<'a>>
§signature_reward: Option<Amount<'a>>
Implementations§
Source§impl<'a> XChainModifyBridge<'a>
impl<'a> XChainModifyBridge<'a>
pub fn new( account: Cow<'a, str>, account_txn_id: Option<Cow<'a, str>>, fee: Option<XRPAmount<'a>>, flags: Option<FlagCollection<XChainModifyBridgeFlags>>, last_ledger_sequence: Option<u32>, memos: Option<Vec<Memo>>, sequence: Option<u32>, signers: Option<Vec<Signer>>, source_tag: Option<u32>, ticket_sequence: Option<u32>, xchain_bridge: XChainBridge<'a>, min_account_create_amount: Option<Amount<'a>>, signature_reward: Option<Amount<'a>>, ) -> XChainModifyBridge<'a>
Trait Implementations§
Source§impl<'a> Debug for XChainModifyBridge<'a>
impl<'a> Debug for XChainModifyBridge<'a>
Source§impl<'de, 'a> Deserialize<'de> for XChainModifyBridge<'a>
impl<'de, 'a> Deserialize<'de> for XChainModifyBridge<'a>
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 Model for XChainModifyBridge<'_>
impl Model for XChainModifyBridge<'_>
Source§fn get_errors(&self) -> XRPLModelResult<()>
fn get_errors(&self) -> XRPLModelResult<()>
Collects a models errors and returns the first error that occurs.
Source§fn validate(&self) -> XRPLModelResult<()>
fn validate(&self) -> XRPLModelResult<()>
Simply forwards the error from
get_errors
if there was one.Source§impl<'a> Serialize for XChainModifyBridge<'a>
impl<'a> Serialize for XChainModifyBridge<'a>
Source§impl<'a> Transaction<'a, XChainModifyBridgeFlags> for XChainModifyBridge<'a>
impl<'a> Transaction<'a, XChainModifyBridgeFlags> for XChainModifyBridge<'a>
fn get_common_fields(&self) -> &CommonFields<'_, XChainModifyBridgeFlags>
fn get_mut_common_fields( &mut self, ) -> &mut CommonFields<'a, XChainModifyBridgeFlags>
fn get_transaction_type(&self) -> &TransactionType
fn has_flag(&self, flag: &T) -> bool
fn get_field_value(&self, field: &str) -> XRPLModelResult<Option<String>>
fn is_signed(&self) -> bool
Source§impl<'a> ValidateCurrencies for XChainModifyBridge<'a>
impl<'a> ValidateCurrencies for XChainModifyBridge<'a>
fn validate_currencies(&self) -> XRPLModelResult<()>
Auto Trait Implementations§
impl<'a> Freeze for XChainModifyBridge<'a>
impl<'a> RefUnwindSafe for XChainModifyBridge<'a>
impl<'a> Send for XChainModifyBridge<'a>
impl<'a> Sync for XChainModifyBridge<'a>
impl<'a> Unpin for XChainModifyBridge<'a>
impl<'a> UnwindSafe for XChainModifyBridge<'a>
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