pub struct Target {
pub address: Option<Address>,
pub durable: TerminusDurability,
pub expiry_policy: TerminusExpiryPolicy,
pub timeout: Seconds,
pub dynamic: bool,
pub dynamic_node_properties: Option<NodeProperties>,
pub capabilities: Option<Symbols>,
}
Fields§
§address: Option<Address>
§durable: TerminusDurability
§expiry_policy: TerminusExpiryPolicy
§timeout: Seconds
§dynamic: bool
§dynamic_node_properties: Option<NodeProperties>
§capabilities: Option<Symbols>
Implementations§
Source§impl Target
impl Target
pub fn address(&self) -> Option<&Address>
pub fn durable(&self) -> TerminusDurability
pub fn expiry_policy(&self) -> TerminusExpiryPolicy
pub fn timeout(&self) -> Seconds
pub fn dynamic(&self) -> bool
pub fn dynamic_node_properties(&self) -> Option<&NodeProperties>
pub fn capabilities(&self) -> Option<&Symbols>
Trait Implementations§
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl !Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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