framesmith 0.1.0

A Rust library for controlling Samsung Frame TVs over the local network
Documentation
use std::net::IpAddr;

pub struct DiscoveredTv {
    pub(crate) name: String,
    pub(crate) ip: IpAddr,
    pub(crate) model: String,
}

impl DiscoveredTv {
    pub fn name(&self) -> &str {
        &self.name
    }

    pub fn ip(&self) -> IpAddr {
        self.ip
    }

    pub fn model(&self) -> &str {
        &self.model
    }
}