pub struct CoreServiceInfo {
pub service: u32,
pub version: CoreServiceVersion,
pub version_min: CoreServiceVersion,
pub version_max: CoreServiceVersion,
}Expand description
Сведения о службе, от имени которой клиент подключается к CORE. По ним соседи определяют, поддерживают ли они одну версию протокола. По умолчанию — тестовая служба версии 1.0.
Fields§
§service: u32Номер службы (enum GNUNET_CORE_Service).
version: CoreServiceVersionТекущая версия.
version_min: CoreServiceVersionНаименьшая поддерживаемая версия.
version_max: CoreServiceVersionНаибольшая поддерживаемая версия.
Trait Implementations§
Source§impl Clone for CoreServiceInfo
impl Clone for CoreServiceInfo
Source§fn clone(&self) -> CoreServiceInfo
fn clone(&self) -> CoreServiceInfo
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 CoreServiceInfo
Source§impl Debug for CoreServiceInfo
impl Debug for CoreServiceInfo
Auto Trait Implementations§
impl Freeze for CoreServiceInfo
impl RefUnwindSafe for CoreServiceInfo
impl Send for CoreServiceInfo
impl Sync for CoreServiceInfo
impl Unpin for CoreServiceInfo
impl UnsafeUnpin for CoreServiceInfo
impl UnwindSafe for CoreServiceInfo
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