pub struct CloseFlags(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl CloseFlags
impl CloseFlags
pub const COOPERATIVE: u32 = 1
pub const UNCOOPERATIVE_LOCAL: u32
pub const ABANDONED: u32
pub const FUNDING_ABORTED: u32
pub const UNCOOPERATIVE_REMOTE: u32
pub const WAITING_ONCHAIN_SETTLEMENT: u32
Trait Implementations§
Source§impl Clone for CloseFlags
impl Clone for CloseFlags
Source§fn clone(&self) -> CloseFlags
fn clone(&self) -> CloseFlags
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 moreimpl Copy for CloseFlags
Source§impl Debug for CloseFlags
impl Debug for CloseFlags
Source§impl<'de> Deserialize<'de> for CloseFlags
impl<'de> Deserialize<'de> for CloseFlags
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CloseFlags
Source§impl From<CloseFlags> for u32
impl From<CloseFlags> for u32
Source§fn from(v: CloseFlags) -> Self
fn from(v: CloseFlags) -> Self
Converts to this type from the input type.
Source§impl From<u32> for CloseFlags
impl From<u32> for CloseFlags
Source§impl JsonSchema for CloseFlags
impl JsonSchema for CloseFlags
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CloseFlags
impl PartialEq for CloseFlags
Source§impl Serialize for CloseFlags
impl Serialize for CloseFlags
impl StructuralPartialEq for CloseFlags
Auto Trait Implementations§
impl Freeze for CloseFlags
impl RefUnwindSafe for CloseFlags
impl Send for CloseFlags
impl Sync for CloseFlags
impl Unpin for CloseFlags
impl UnsafeUnpin for CloseFlags
impl UnwindSafe for CloseFlags
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