Struct citadel::Client [−][src]
Implementations
impl Client
[src]
pub fn with(config: Config) -> Result<Self, Error>
[src]
pub fn request(&mut self, request: Request) -> Result<Reply, Error>
[src]
impl Client
[src]
pub fn contract_list(&mut self) -> Result<Reply, Error>
[src]
pub fn single_sig_create(
&mut self,
name: impl ToString,
pubkey_chain: PubkeyChain,
category: ContentType
) -> Result<Reply, Error>
[src]
&mut self,
name: impl ToString,
pubkey_chain: PubkeyChain,
category: ContentType
) -> Result<Reply, Error>
pub fn contract_operations(
&mut self,
contract_id: ContractId
) -> Result<Reply, Error>
[src]
&mut self,
contract_id: ContractId
) -> Result<Reply, Error>
pub fn contract_rename(
&mut self,
contract_id: ContractId,
name: impl ToString
) -> Result<Reply, Error>
[src]
&mut self,
contract_id: ContractId,
name: impl ToString
) -> Result<Reply, Error>
pub fn contract_delete(
&mut self,
contract_id: ContractId
) -> Result<Reply, Error>
[src]
&mut self,
contract_id: ContractId
) -> Result<Reply, Error>
pub fn contract_balance(
&mut self,
contract_id: ContractId,
rescan: bool,
lookup_depth: u8
) -> Result<Reply, Error>
[src]
&mut self,
contract_id: ContractId,
rescan: bool,
lookup_depth: u8
) -> Result<Reply, Error>
pub fn address_list(
&mut self,
contract_id: ContractId,
rescan: bool,
lookup_depth: u8
) -> Result<Reply, Error>
[src]
&mut self,
contract_id: ContractId,
rescan: bool,
lookup_depth: u8
) -> Result<Reply, Error>
pub fn address_create(
&mut self,
contract_id: ContractId,
index: Option<UnhardenedIndex>,
mark_used: bool,
legacy: bool
) -> Result<Reply, Error>
[src]
&mut self,
contract_id: ContractId,
index: Option<UnhardenedIndex>,
mark_used: bool,
legacy: bool
) -> Result<Reply, Error>
pub fn invoice_create(
&mut self,
category: InvoiceType,
contract_id: ContractId,
asset_id: Option<ContractId>,
amount: AtomicValue,
merchant: Option<impl ToString>,
purpose: Option<impl ToString>,
mark_used: bool,
legacy: bool
) -> Result<Invoice, Error>
[src]
&mut self,
category: InvoiceType,
contract_id: ContractId,
asset_id: Option<ContractId>,
amount: AtomicValue,
merchant: Option<impl ToString>,
purpose: Option<impl ToString>,
mark_used: bool,
legacy: bool
) -> Result<Invoice, Error>
pub fn invoice_list(&mut self, contract_id: ContractId) -> Result<Reply, Error>
[src]
pub fn invoice_pay(
&mut self,
contract_id: ContractId,
invoice: Invoice,
amount: Option<u64>,
fee: u64,
giveaway: Option<u64>
) -> Result<PreparedTransfer, Error>
[src]
&mut self,
contract_id: ContractId,
invoice: Invoice,
amount: Option<u64>,
fee: u64,
giveaway: Option<u64>
) -> Result<PreparedTransfer, Error>
pub fn finalize_publish_psbt(&mut self, psbt: Psbt) -> Result<Txid, Error>
[src]
pub fn invoice_accept(
&mut self,
consignment: Consignment
) -> Result<Status, Error>
[src]
&mut self,
consignment: Consignment
) -> Result<Status, Error>
pub fn asset_list(&mut self) -> Result<Reply, Error>
[src]
pub fn asset_import(
&mut self,
genesis_bech: impl AsRef<str>
) -> Result<Reply, Error>
[src]
&mut self,
genesis_bech: impl AsRef<str>
) -> Result<Reply, Error>
Auto Trait Implementations
impl RefUnwindSafe for Client
impl Send for Client
impl !Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,