pub struct ListCommunityPublicShares {
pub community_share_id: [u8; 32],
pub community_share_pubkey: [u8; 32],
pub max_entries: u16,
pub requester_node_pubkey: Option<[u8; 32]>,
pub requester_membership_proof: Option<Vec<u8>>,
}Fields§
§max_entries: u16§requester_node_pubkey: Option<[u8; 32]>Ed25519 public key of the requesting node’s stable identity.
Required when the serving node has community_strict_mode enabled.
May be omitted for permissive-mode servers.
requester_membership_proof: Option<Vec<u8>>Serialized CommunityMembershipToken (CBOR bytes) proving the
requester is a member of the requested community.
Required when the serving node has community_strict_mode enabled.
Trait Implementations§
Source§fn clone(&self) -> ListCommunityPublicShares
fn clone(&self) -> ListCommunityPublicShares
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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