pub struct PublishedList {
pub publisher: Key,
pub sequence: u64,
pub validators: BTreeSet<Key>,
pub effective: Option<u32>,
pub expiration: Option<u32>,
pub manifest_sequence: u32,
}Expand description
One publisher list, with its signature already verified.
Fields§
§publisher: Key§sequence: u64§validators: BTreeSet<Key>Master keys of the validators in the list.
effective: Option<u32>When it takes effect (v2 lists only), seconds since the XRPL epoch.
expiration: Option<u32>When it expires, seconds since the XRPL epoch.
manifest_sequence: u32Sequence of the publisher manifest the list is signed under: lists signed with a rotated publisher key are not counted.
Implementations§
Source§impl PublishedList
impl PublishedList
Sourcepub fn valid_between(&self, from: u32, to: u32) -> bool
pub fn valid_between(&self, from: u32, to: u32) -> bool
Whether the list is in effect at any moment of the window [from, to].
Trait Implementations§
Source§impl Clone for PublishedList
impl Clone for PublishedList
Source§fn clone(&self) -> PublishedList
fn clone(&self) -> PublishedList
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 moreSource§impl Debug for PublishedList
impl Debug for PublishedList
impl Eq for PublishedList
Source§impl PartialEq for PublishedList
impl PartialEq for PublishedList
impl StructuralPartialEq for PublishedList
Auto Trait Implementations§
impl Freeze for PublishedList
impl RefUnwindSafe for PublishedList
impl Send for PublishedList
impl Sync for PublishedList
impl Unpin for PublishedList
impl UnsafeUnpin for PublishedList
impl UnwindSafe for PublishedList
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