pub struct CommunityPeerRequest {
pub visible: bool,
pub peer: Peer,
pub requested_by: i64,
pub date: i32,
}Expand description
Generated from:
communityPeerRequest#7beafa85 flags:# visible:flags.0?true peer:Peer requested_by:long date:int = CommunityPeerRequestFields§
§visible: bool§peer: Peer§requested_by: i64§date: i32Trait Implementations§
Source§impl Clone for CommunityPeerRequest
impl Clone for CommunityPeerRequest
Source§fn clone(&self) -> CommunityPeerRequest
fn clone(&self) -> CommunityPeerRequest
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 CommunityPeerRequest
impl Debug for CommunityPeerRequest
Source§impl Deserializable for CommunityPeerRequest
impl Deserializable for CommunityPeerRequest
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<CommunityPeerRequest> for CommunityPeerRequest
impl From<CommunityPeerRequest> for CommunityPeerRequest
Source§fn from(x: CommunityPeerRequest) -> Self
fn from(x: CommunityPeerRequest) -> Self
Converts to this type from the input type.
Source§impl Identifiable for CommunityPeerRequest
impl Identifiable for CommunityPeerRequest
Source§const CONSTRUCTOR_ID: u32 = 0x7beafa85
const CONSTRUCTOR_ID: u32 = 0x7beafa85
The constructor ID as specified in the TL schema.
Source§impl PartialEq for CommunityPeerRequest
impl PartialEq for CommunityPeerRequest
Source§impl Serializable for CommunityPeerRequest
impl Serializable for CommunityPeerRequest
impl StructuralPartialEq for CommunityPeerRequest
Source§impl TryFrom<CommunityPeerRequest> for CommunityPeerRequest
impl TryFrom<CommunityPeerRequest> for CommunityPeerRequest
Source§type Error = CommunityPeerRequest
type Error = CommunityPeerRequest
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CommunityPeerRequest
impl RefUnwindSafe for CommunityPeerRequest
impl Send for CommunityPeerRequest
impl Sync for CommunityPeerRequest
impl Unpin for CommunityPeerRequest
impl UnsafeUnpin for CommunityPeerRequest
impl UnwindSafe for CommunityPeerRequest
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