pub struct AccountImport {
pub name: String,
pub subject: String,
pub account: String,
pub token: String,
pub to: String,
pub local_subject: String,
pub kind: ExportType,
pub share: bool,
pub allow_trace: bool,
}Expand description
An account-level import of another account’s stream or service.
Fields§
§name: StringHuman-readable import name.
subject: StringExported subject being imported.
account: StringPublic NKey (A…) of the exporting account.
token: StringActivation token for a token-gated export (empty if not required).
to: StringLocal subject the import is remapped to (legacy to form).
local_subject: StringLocal subject the import is remapped to (with $N capture groups).
kind: ExportTypeWhether this imports a stream or a service (serialized as type).
Whether latency/connection info may be shared with the exporter.
allow_trace: boolWhether message-trace propagation is allowed across this import.
Trait Implementations§
Source§impl Clone for AccountImport
impl Clone for AccountImport
Source§fn clone(&self) -> AccountImport
fn clone(&self) -> AccountImport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AccountImport
impl RefUnwindSafe for AccountImport
impl Send for AccountImport
impl Sync for AccountImport
impl Unpin for AccountImport
impl UnsafeUnpin for AccountImport
impl UnwindSafe for AccountImport
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