pub struct AccessPointRule {
pub phone_prefix_rules: Vec<u8>,
pub dc_id: i32,
pub ips: RawVec<IpPort>,
}Expand description
Generated from:
accessPointRule#4679b65f phone_prefix_rules:bytes dc_id:int ips:vector<IpPort> = AccessPointRuleFields§
§phone_prefix_rules: Vec<u8>§dc_id: i32§ips: RawVec<IpPort>Trait Implementations§
Source§impl Clone for AccessPointRule
impl Clone for AccessPointRule
Source§fn clone(&self) -> AccessPointRule
fn clone(&self) -> AccessPointRule
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§impl Debug for AccessPointRule
impl Debug for AccessPointRule
Source§impl Deserializable for AccessPointRule
impl Deserializable for AccessPointRule
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<AccessPointRule> for AccessPointRule
impl From<AccessPointRule> for AccessPointRule
Source§fn from(x: AccessPointRule) -> Self
fn from(x: AccessPointRule) -> Self
Converts to this type from the input type.
Source§impl Identifiable for AccessPointRule
impl Identifiable for AccessPointRule
Source§const CONSTRUCTOR_ID: u32 = 0x4679b65f
const CONSTRUCTOR_ID: u32 = 0x4679b65f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for AccessPointRule
impl PartialEq for AccessPointRule
Source§impl Serializable for AccessPointRule
impl Serializable for AccessPointRule
Source§impl TryFrom<AccessPointRule> for AccessPointRule
impl TryFrom<AccessPointRule> for AccessPointRule
Source§type Error = AccessPointRule
type Error = AccessPointRule
The type returned in the event of a conversion error.
impl StructuralPartialEq for AccessPointRule
Auto Trait Implementations§
impl Freeze for AccessPointRule
impl RefUnwindSafe for AccessPointRule
impl Send for AccessPointRule
impl Sync for AccessPointRule
impl Unpin for AccessPointRule
impl UnsafeUnpin for AccessPointRule
impl UnwindSafe for AccessPointRule
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